* 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 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
-- 
1.8.2.1


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to