From: Dmitry V. Levin Date: Fri, 21 Apr 2017 03:49:07 +0000 (+0000) Subject: tests: tabulate fstat.test X-Git-Tag: v4.17~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51440aef4b29b2d3b95dc547336f315eb2b3dcf0;p=strace tests: tabulate fstat.test * tests/gen_tests.in (fstat): New entry. (fstat64, oldfstat): Update. * tests/fstat.test: Remove. * tests/Makefile.am (DECODER_TESTS): Remove fstat.test. --- diff --git a/tests/Makefile.am b/tests/Makefile.am index 176797fb..32fc9f08 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -180,7 +180,6 @@ DECODER_TESTS = \ execve-v.test \ execve.test \ fadvise64.test \ - fstat.test \ futex.test \ getuid.test \ ioctl.test \ diff --git a/tests/fstat.test b/tests/fstat.test deleted file mode 100755 index 5f9ceb78..00000000 --- a/tests/fstat.test +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -# Check fstat syscall decoding. - -. "${srcdir=.}/init.sh" - -syscall=$NAME -run_prog > /dev/null -sample=stat.sample -> "$sample" -run_strace -ve$syscall -P$sample -a21 $args > "$EXP" -match_diff "$LOG" "$EXP" diff --git a/tests/gen_tests.in b/tests/gen_tests.in index 0c07a2ec..b86e77e0 100644 --- a/tests/gen_tests.in +++ b/tests/gen_tests.in @@ -77,7 +77,8 @@ file_ioctl +ioctl.test finit_module -a25 flock -a19 fork-f -a26 -qq -f -e signal=none -e trace=chdir -fstat64 +fstat.test +fstat -a15 -v -P stat.sample +fstat64 -a17 -v -P stat.sample fstatat64 -a32 -v -P stat.sample -P /dev/full fstatfs -a18 fstatfs64 -a24 @@ -185,7 +186,7 @@ net-sockaddr -a24 -e trace=connect netlink_protocol -e trace=%network newfstatat -a32 -v -P stat.sample -P /dev/full old_mmap -a11 -e trace=mmap -oldfstat +fstat.test +oldfstat -a18 -v -P stat.sample oldlstat -a32 -v -P stat.sample -P /dev/full oldstat -a32 -v -P stat.sample -P /dev/full open -a30 -P $NAME.sample