Files
snapd/tests/common.sh
2015-03-24 09:37:45 +01:00

19 lines
262 B
Bash

#!/bin/sh
L=$(pwd)/../src/ubuntu-core-launcher
TMP="$(mktemp -d)"
trap "rm -rf $TMP" EXIT
export SNAPPY_LAUNCHER_SECCOMP_PROFILE_DIR="$TMP"
export SNAPPY_LAUNCHER_SKIP_APPRMOR="1"
FAIL() {
printf ": FAIL\n"
exit 1
}
PASS() {
printf ": PASS\n"
}