Skip to content

Commit

Permalink
Merge pull request #4052 from mvo5/detect-invalid-udev
Browse files Browse the repository at this point in the history
tests: check for invalid udev files during all tests
  • Loading branch information
stolowski committed Oct 25, 2017
2 parents 5d73fdc + 36016fa commit d979688
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spread.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,12 @@ restore: |
rm -f $SPREAD_PATH/snapd-state.tar.gz
rm -rf ${GOPATH%%:*}/*
restore-each: |
if grep "invalid .*snap.*.rules" /var/log/syslog; then
echo "Invalid udev file detected, test most likely broke it"
exit 1
fi
suites:
tests/main/:
summary: Full-system tests for snapd
Expand Down

0 comments on commit d979688

Please sign in to comment.