mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
tests: add multi string support in requires_parser_support
By not having quotes in $@, the string splits by the whitespace. That prevents us from checking if the parser supports rules that have spaces in them. Signed-off-by: Georgia Garcia <georgia.garcia@canonical.com>
This commit is contained in:
parent
8a5e7227db
commit
f6ad1cbe1e
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ parser_supports()
|
|||
# $@: rules to test
|
||||
requires_parser_support()
|
||||
{
|
||||
local res=$(parser_supports $@)
|
||||
local res=$(parser_supports "$@")
|
||||
if [ "$res" != "true" ] ; then
|
||||
echo "$res. Skipping tests ..."
|
||||
exit 0
|
||||
|
|
Loading…
Add table
Reference in a new issue