mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
tests: snapd/mount-control: fix bash syntax.
This masked failures that were already occuring. Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
This commit is contained in:
parent
cd8b75abc0
commit
32116a50b0
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ artifacts:
|
|||
prepare: |
|
||||
rm -f parser.txt denials.txt
|
||||
"$SPREAD_PATH"/parser/apparmor_parser --base="$SPREAD_PATH"/profiles/apparmor.d --warn=all --replace "$PROFILE" 2>parser.txt
|
||||
if [ test -s parser.txt ]; then
|
||||
if [ -s parser.txt ]; then
|
||||
echo "Parser produced warnings:"
|
||||
cat parser.txt
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue