summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-05-02 15:35:40 -0400
committerDmitry V. Levin <ldv@altlinux.org>2013-05-02 22:06:44 +0000
commit1970da0aa85bfe1bd9c16de97d1a4792a8874047 (patch)
tree46fbd02f47c2c7307094d96358fd244b8c284a27 /tests
parentd26d011078590701eaeb32c86b2aa01b171cf386 (diff)
downloadstrace-1970da0aa85bfe1bd9c16de97d1a4792a8874047.tar.gz
strace-1970da0aa85bfe1bd9c16de97d1a4792a8874047.tar.bz2
strace-1970da0aa85bfe1bd9c16de97d1a4792a8874047.tar.xz
tests: stat: fix clean up of sample file
* tests/stat: Also rm the sample file at the end of the test.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/stat2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/stat b/tests/stat
index d2abed0..5fe0b86 100755
--- a/tests/stat
+++ b/tests/stat
@@ -35,4 +35,6 @@ $STRACE -efile find sample > /dev/null 2> check.log &&
LC_ALL=C grep '^[[:alnum:]_]*stat[[:alnum:]_]*([^()"]*"sample", {st_mode=S_IFREG|0644, st_size=46118400000, \.\.\.}' check.log > /dev/null ||
{ cat check.log; fail_ 'strace -efile failed to trace newfstatat/fstatat64 properly'; }
+rm -f sample
+
exit 0