Skip to content

Commit

Permalink
tests/fake-plugin: fail the test if debug messages don't appear
Browse files Browse the repository at this point in the history
Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
  • Loading branch information
bgoglin committed Feb 26, 2020
1 parent e023f34 commit 87fcb9a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/hwloc/test-fake-plugin.sh.in
Expand Up @@ -46,8 +46,8 @@ export HWLOC_DEBUG_FAKE_COMPONENT

$lstopo > $file

grep "fake component initialized" $file \
&& grep "fake component instantiated" $file \
&& grep "fake component finalized" $file
grep "fake component initialized" $file || false
grep "fake component instantiated" $file || false
grep "fake component finalized" $file || false

rm -rf "$tmp"

0 comments on commit 87fcb9a

Please sign in to comment.