diff options
| author | Mike Frysinger <vapier@gentoo.org> | 2013-05-02 15:35:40 -0400 |
|---|---|---|
| committer | Dmitry V. Levin <ldv@altlinux.org> | 2013-05-02 22:06:44 +0000 |
| commit | 1970da0aa85bfe1bd9c16de97d1a4792a8874047 (patch) | |
| tree | 46fbd02f47c2c7307094d96358fd244b8c284a27 /tests | |
| parent | d26d011078590701eaeb32c86b2aa01b171cf386 (diff) | |
| download | strace-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-x | tests/stat | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |
