aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-04-04 22:59:42 -0400
committerMike Frysinger <vapier@gentoo.org>2009-04-05 03:54:02 -0400
commit16a11d0b67121521e4dbe12b4741217f97034c28 (patch)
tree8d995bd748e0c7e99c182cd1cb90dd8bbb90b586 /tests/trace-0
parenttests: fix openat arg parsing (diff)
downloadsandbox-16a11d0b67121521e4dbe12b4741217f97034c28.tar.gz
sandbox-16a11d0b67121521e4dbe12b4741217f97034c28.tar.bz2
sandbox-16a11d0b67121521e4dbe12b4741217f97034c28.zip
tests: add some tracing tests
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tests/trace-0')
-rwxr-xr-xtests/trace-09
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/trace-0 b/tests/trace-0
new file mode 100755
index 0000000..5a91c7a
--- /dev/null
+++ b/tests/trace-0
@@ -0,0 +1,9 @@
+#!/bin/sh
+# make sure trace support exists
+if grep -q trace_child_signal "$abs_top_builddir"/libsandbox/.libs/libsandbox.so ; then
+ # see comment at top of script-0 -- same issue applies here because
+ # the ld.so isn't around to load the correct sandbox lib for us
+ exec script-0
+else
+ exit 77
+fi