Files
snapd/tests/test_unrestricted
Michael Vogt ba7d91093e update tests
2015-04-18 04:54:35 -05:00

18 lines
230 B
Bash
Executable File

#!/bin/sh
set -e
. $(pwd)/common.sh
cat >$TMP/myprofile <<EOF
# some comment
@unrestricted
EOF
printf "Test that the @unrestricted keyword works"
if $L /tmp appid myprofile /bin/ls / >/dev/null; then
PASS
else
FAIL
fi