]> granicus.if.org Git - strace/commitdiff
tests: tabulate fstat.test
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 21 Apr 2017 03:49:07 +0000 (03:49 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 21 Apr 2017 19:49:03 +0000 (19:49 +0000)
* tests/gen_tests.in (fstat): New entry.
(fstat64, oldfstat): Update.
* tests/fstat.test: Remove.
* tests/Makefile.am (DECODER_TESTS): Remove fstat.test.

tests/Makefile.am
tests/fstat.test [deleted file]
tests/gen_tests.in

index 176797fb9cda1d086bf3523b6591aecf0fd0ef48..32fc9f08cc20026d42e70f67cf101a52c4d7014f 100644 (file)
@@ -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 (executable)
index 5f9ceb7..0000000
+++ /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"
index 0c07a2ecc65b9084119be7d4470e3cfac81752f2..b86e77e0de591dbc4ec5fd8af37eb6b62156cd2d 100644 (file)
@@ -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