mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 10:07:12 +00:00
parser: fix if condition at the bottom of equality.sh
The lack of a space after $testtype is a syntax error and was causing the equality tests on Ubuntu Xenial to be silently skipped and marked PASS. Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
This commit is contained in:
parent
87e5a34252
commit
17ee87ad6b
@ -1223,7 +1223,7 @@ done
|
||||
|
||||
set -- "${POSITIONAL_ARGS[@]}" # restore positional parameters
|
||||
|
||||
if [ $# -eq 0 -o -z $testtype] ; then
|
||||
if [ $# -eq 0 -o -z "$testtype" ] ; then
|
||||
run_tests "$@"
|
||||
exit $?
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user