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.
This commit is contained in:
Дмитрий Левин 2017-04-21 03:49:07 +00:00
parent e15d00536b
commit 51440aef4b
3 changed files with 3 additions and 15 deletions

View File

@ -180,7 +180,6 @@ DECODER_TESTS = \
execve-v.test \
execve.test \
fadvise64.test \
fstat.test \
futex.test \
getuid.test \
ioctl.test \

View File

@ -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"

View 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