aboutsummaryrefslogtreecommitdiff
blob: 95858624f9061351d2f39fd3c54b8d07045536ce (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
# make sure we catch openat with relative path
[ "${at_xfail}" = "yes" ] && exit 77 # see trace-0

touch f
test -e f || exit 1
adddeny "${PWD}"
unlink_static-0 -1,EPERM f
test -e sandbox.log -a -e f