From 936b3824a0dd6eba38df3e5f7f548beebfd042f7 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Wed, 19 Apr 2017 00:02:56 +0000 Subject: [PATCH] tests: tabulate statfs.test * tests/gen_tests.in (statfs): New entry. (fstatfs, fstatfs64, statfs64): Update. * tests/statfs.test: Remove. * tests/Makefile.am (DECODER_TESTS): Remove statfs.test. --- tests/Makefile.am | 1 - tests/gen_tests.in | 7 ++++--- tests/statfs.test | 11 ----------- 3 files changed, 4 insertions(+), 15 deletions(-) delete mode 100755 tests/statfs.test diff --git a/tests/Makefile.am b/tests/Makefile.am index 93381874..0d76b46e 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -224,7 +224,6 @@ DECODER_TESTS = \ seccomp-strict.test \ sigaction.test \ sigaltstack.test \ - statfs.test \ sun_path.test \ trace_statfs.test \ uio.test \ diff --git a/tests/gen_tests.in b/tests/gen_tests.in index c0de949b..ea0d46dc 100644 --- a/tests/gen_tests.in +++ b/tests/gen_tests.in @@ -78,8 +78,8 @@ flock -a19 fork-f -a26 -qq -f -e signal=none -e trace=chdir fstat64 +fstat.test fstatat64 -a32 -v -P $NAME.sample -P /dev/full -fstatfs +statfs.test -fstatfs64 +statfs.test +fstatfs -a18 +fstatfs64 -a24 fsync -a10 ftruncate -a24 ftruncate64 -a36 @@ -280,7 +280,8 @@ socketcall -a20 splice stat -a32 -v -P $NAME.sample -P /dev/full stat64 -a32 -v -P $NAME.sample -P /dev/full -statfs64 +statfs.test +statfs -a17 +statfs64 -a23 statx -a32 -v -P $NAME.sample -P /dev/full swap -a23 -e trace=swapon,swapoff symlink -a34 diff --git a/tests/statfs.test b/tests/statfs.test deleted file mode 100755 index 6075576f..00000000 --- a/tests/statfs.test +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -# Check statfs syscall decoding. - -. "${srcdir=.}/init.sh" - -# this test probes /proc/self/status -[ -f /proc/self/status ] || - framework_skip_ '/proc/self/status is not available' - -run_strace_match_diff -a17 -- 2.40.0