Skip to content
Snippets Groups Projects
Commit 2fca32c2 authored by Kamil Dudka's avatar Kamil Dudka
Browse files

test: honestly report skipped test cases

parent 08d15052
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -5,7 +5,8 @@
. ./test-common-acl.sh
if [ $ACL_TESTS = 0 ]; then
echo "Skipping test 32: no ACL support"
else
exit 77
fi
 
cleanup 32
 
Loading
Loading
@@ -50,5 +51,3 @@ checkoutput <<EOF
test.log 0
test.log.1 0 zero
EOF
fi
Loading
Loading
@@ -5,7 +5,8 @@
. ./test-common-acl.sh
if [ $ACL_TESTS = 0 ]; then
echo "Skipping test 33: no ACL support"
else
exit 77
fi
 
cleanup 33
 
Loading
Loading
@@ -33,5 +34,3 @@ checkoutput <<EOF
test.log 0
test.log.1 0 zero
EOF
fi
Loading
Loading
@@ -5,7 +5,8 @@
. ./test-common-acl.sh
if [ $ACL_TESTS = 0 ]; then
echo "Skipping test 35: no ACL support"
else
exit 77
fi
 
cleanup 35
 
Loading
Loading
@@ -35,5 +36,3 @@ checkoutput <<EOF
test.log 0
test.log.1 0 zero
EOF
fi
Loading
Loading
@@ -5,7 +5,10 @@
cleanup 47
 
. ./test-common-selinux.sh
if [ $SELINUX_TESTS = 1 ]; then
if [ $SELINUX_TESTS = 0 ]; then
echo "Skipping SELinux test 47"
exit 77
fi
 
# ------------------------------- Test 47 ------------------------------------
# test that newly created state file has the same SELinux context as the
Loading
Loading
@@ -30,7 +33,3 @@ fi
checkoutput <<EOF
test.log 0 zero
EOF
else
echo "Skipping SELinux test 47"
fi
Loading
Loading
@@ -7,7 +7,8 @@ cleanup 48
. ./test-common-acl.sh
if [ $ACL_TESTS = 0 ]; then
echo "Skipping test 48: no ACL support"
else
exit 77
fi
 
# ------------------------------- Test 48 ------------------------------------
# Test that state file keeps the set ACLs
Loading
Loading
@@ -31,5 +32,3 @@ checkoutput <<EOF
test.log 0
test.log.1 0 zero
EOF
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment