From: <gi...@ba...> - 2017-07-22 18:39:28
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Bacula Community source git repository". The branch, Branch-9.0 has been updated via 046c1f55433e269132452613f1ff599fa151e2f1 (commit) from ddb5e517339633813b7bfc6c2ea25c3df552c340 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 046c1f55433e269132452613f1ff599fa151e2f1 Author: Kern Sibbald <ke...@si...> Date: Sat Jul 22 20:39:12 2017 +0200 regress: enhance btape-test to detect NOT correct message ----------------------------------------------------------------------- Summary of changes: diff --git a/regress/tests/btape-test b/regress/tests/btape-test index 00c86f9..272da07 100755 --- a/regress/tests/btape-test +++ b/regress/tests/btape-test @@ -40,7 +40,6 @@ quit END_OF_DATA fi - if [ $? != 0 ] ; then echo " " echo " " @@ -50,6 +49,13 @@ if [ $? != 0 ] ; then exit 1 fi +grep "This is NOT correct" $tmp/log1.out >/dev/null +if [ $? != 1 ] ; then + print_debug "btape test command failed failed" + estat=1 +fi + + grep "The test autochanger worked" $tmp/log1.out > /dev/null if [ $? != 0 ] ; then print_debug "btape autochanger test failed" hooks/post-receive -- Bacula Community source git repository |