From: Mike Frysinger Date: Thu, 2 May 2013 19:35:40 +0000 (-0400) Subject: tests: stat: fix clean up of sample file X-Git-Tag: v4.8~57 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1970da0aa85bfe1bd9c16de97d1a4792a8874047;p=strace tests: stat: fix clean up of sample file * tests/stat: Also rm the sample file at the end of the test. --- 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