aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unlink-1.sh')
-rwxr-xr-xtests/unlink-1.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/unlink-1.sh b/tests/unlink-1.sh
new file mode 100755
index 0000000..74d4403
--- /dev/null
+++ b/tests/unlink-1.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# make sure we catch openat with relative path
+[ "${at_xfail}" = "yes" ] && exit 77 # see trace-0
+
+export SANDBOX_LOG=$PWD/sb.log
+unlink-0 -1 f
+test -e sb.log