From: Dmitry V. Levin Date: Thu, 30 Mar 2017 23:29:24 +0000 (+0000) Subject: tests: cleanup oldfstat.test X-Git-Tag: v4.17~141 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=263dbc567c15f81143e11048b064a93be9825c74;p=strace tests: cleanup oldfstat.test * tests/oldfstat.test: Use fstat.test. --- diff --git a/tests/oldfstat.test b/tests/oldfstat.test index 66a10561..cee37fbb 100755 --- a/tests/oldfstat.test +++ b/tests/oldfstat.test @@ -1,19 +1,5 @@ #!/bin/sh -# Check oldfstat syscall decoding. +# Check decoding of oldfstat syscall. -. "${srcdir=.}/init.sh" - -# strace -P is implemented using /proc/self/fd -[ -d /proc/self/fd/ ] || - framework_skip_ '/proc/self/fd/ is not available' - -syscall=$NAME -run_prog > /dev/null -sample=$syscall.sample -> "$sample" -run_strace -ve$syscall -P$sample -a21 $args > "$OUT" -match_diff "$LOG" "$OUT" -rm -f "$OUT" - -exit 0 +. "${srcdir=.}/fstat.test"