diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-04-13 08:08:23 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-04-13 08:08:23 -0400 |
commit | da77405ff6afacbcf5073596864d40d66126cb35 (patch) | |
tree | 21e900798ef85d5c1dddaa137795aa00c0064483 /tests/mkdir_static-1.sh | |
parent | tests: setup keywords for related tests (diff) | |
download | sandbox-da77405ff6afacbcf5073596864d40d66126cb35.tar.gz sandbox-da77405ff6afacbcf5073596864d40d66126cb35.tar.bz2 sandbox-da77405ff6afacbcf5073596864d40d66126cb35.zip |
tests: add static mkdir() check
Some wrapped functions have "pre" checks where we don't bother checking
the sandbox settings under certain conditions. Traced programs should go
through these same checks.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'tests/mkdir_static-1.sh')
-rwxr-xr-x | tests/mkdir_static-1.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/mkdir_static-1.sh b/tests/mkdir_static-1.sh new file mode 100755 index 0000000..c55af85 --- /dev/null +++ b/tests/mkdir_static-1.sh @@ -0,0 +1,5 @@ +#!/bin/sh +# traced funcs need to go through wrapper pre-checks too #265885 +[ "${at_xfail}" = "yes" ] && exit 77 # see trace-0 + +exec mkdir_static-0 -1,EEXIST / 0755 |