autfilt: return with exit code 1 if there is no match

* src/bin/autfilt.cc: Return with exit code 1 if no match found.
* src/tgbaalgos/are_isomorphic.cc,src/tgbatest/degenlskip.test
src/tgbatest/explpro2.test,src/tgbatest/explpro3.test
src/tgbatest/explpro4.test,src/tgbatest/explprod.test
src/tgbatest/neverclaimread.test, src/tgbatest/readsave.test
src/tgbatest/tripprod.test: Use exit status to check for output
emptiness instead of 'test -n'.
* src/tgbatest/isomorph.test: Simplify test.
This commit is contained in:
Thibaud Michaud 2014-12-09 14:11:05 +01:00 committed by Alexandre Duret-Lutz
parent 68adcc70fa
commit b54fe4c035
11 changed files with 48 additions and 140 deletions

View file

@ -78,5 +78,5 @@ State: 2
EOF
run 0 ../../bin/autfilt input1 --product input2 --hoa | tee stdout
test -n "`../../bin/autfilt -F stdout --isomorph expected`"
run 0 ../../bin/autfilt -F stdout --isomorph expected
rm input1 input2 stdout expected