diff options
Diffstat (limited to 'tests/misc/chcon-fail')
-rwxr-xr-x | tests/misc/chcon-fail | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/tests/misc/chcon-fail b/tests/misc/chcon-fail index d639e86b5..865b1b996 100755 --- a/tests/misc/chcon-fail +++ b/tests/misc/chcon-fail @@ -8,20 +8,7 @@ if test "$VERBOSE" = yes; then fi . $srcdir/../lang-default - -pwd=`pwd` -t0=`echo "$0"|sed 's,.*/,,'`.tmp; tmp=$t0/$$ -trap 'status=$?; cd $pwd; chmod -R u+rwx $t0; rm -rf $t0 && exit $status' 0 -trap '(exit $?); exit $?' 1 2 13 15 - -framework_failure=0 -mkdir -p $tmp || framework_failure=1 -cd $tmp || framework_failure=1 - -if test $framework_failure = 1; then - echo "$0: failure in testing framework" 1>&2 - (exit 1); exit 1 -fi +. $srcdir/../test-lib.sh fail=0 |