Implement two basic "strace -f" tests

* Makefile.am (SUBDIRS): Add tests.
* configure.ac (AC_CONFIG_FILES): Add tests/Makefile.
* tests/.gitignore: New file.
* tests/Makefile.am: Likewise.
* tests/init.sh: Likewise.
* tests/ptrace_setoptions: Likewise.
* tests/strace-f: Likewise.
diff --git a/tests/strace-f b/tests/strace-f
new file mode 100755
index 0000000..869f331
--- /dev/null
+++ b/tests/strace-f
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# Ensure that strace -f works.
+
+. "${srcdir=.}/init.sh"
+
+check_strace
+check_prog timeout
+time=/usr/bin/time
+check_prog $time
+
+timeout -s 9 9 \
+$STRACE -f $time /bin/ls > check.log 2>&1 ||
+	{ cat check.log; fail_ 'strace -f does not work'; }