* tests/strace-ff.test: New test.
* tests/Makefile.am (MISC_TESTS): Add it.
---
 tests/Makefile.am    |  1 +
 tests/strace-ff.test | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+)
 create mode 100755 tests/strace-ff.test

diff --git a/tests/Makefile.am b/tests/Makefile.am
index f13f897..41f03fb 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -601,6 +601,7 @@ MISC_TESTS = \
        restart_syscall.test \
        strace-T.test \
        strace-f.test \
+       strace-ff.test \
        strace-r.test \
        strace-t.test \
        strace-tt.test \
diff --git a/tests/strace-ff.test b/tests/strace-ff.test
new file mode 100755
index 0000000..90bf249
--- /dev/null
+++ b/tests/strace-ff.test
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# Check -ff option.
+
+. "${srcdir=.}/init.sh"
+
+./sleep 1 &
+PID=$!
+run_strace -ff -p $PID
+
+PID_LOG="$LOG.$PID"
+
+if [ -s "$PID_LOG" ]
+then
+       rm -f "$PID_LOG"
+else
+       fail_ "no log"
+fi
-- 
1.8.3.1




------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to