From 1970da0aa85bfe1bd9c16de97d1a4792a8874047 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 2 May 2013 15:35:40 -0400 Subject: [PATCH] tests: stat: fix clean up of sample file * tests/stat: Also rm the sample file at the end of the test. --- tests/stat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/stat b/tests/stat index d2abed04..5fe0b866 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 -- 2.40.0