]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: qa/workunits/cephtool/test.sh ! and -e
authorLoic Dachary <loic-201408@dachary.org>
Sat, 6 Sep 2014 16:58:08 +0000 (18:58 +0200)
committerLoic Dachary <loic-201408@dachary.org>
Fri, 19 Sep 2014 11:09:18 +0000 (13:09 +0200)
commit4d75c4c36d3e8f8e79e956277eaaae79dcc75660
tree27a12e24cda2e692ec8f70dd30bb971daa5b3f61
parent9442336f92a9059daf5d80bea3a639e7478c3aa5
tests: qa/workunits/cephtool/test.sh ! and -e

From the bash man page:

   set -e exit immediately ... The shell does not exit ... if the
   command's return value is being inverted with !

Add an explicit exit 1 where appropriate.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
qa/workunits/cephtool/test.sh