fix: make script running with -e option

bash -e means stop on errors which is safer
so the tests had to be reversed to use OR vs AND operations

Signed-off-by: Philippe Coval <rzr@gna.org>