]> granicus.if.org Git - strace/commitdiff
tests: stat: fix clean up of sample file
authorMike Frysinger <vapier@gentoo.org>
Thu, 2 May 2013 19:35:40 +0000 (15:35 -0400)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 2 May 2013 22:06:44 +0000 (22:06 +0000)
* tests/stat: Also rm the sample file at the end of the test.

tests/stat

index d2abed04b6ed4cacdf40ff5d832fb77758d9de93..5fe0b866786936b8f53c8a5d1bb7c55e2b2aac79 100755 (executable)
@@ -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