From: Eric Bollengier Date: Thu, 2 Jun 2022 18:54:02 +0000 (+0200) Subject: regress: Adapt plugin-object-test for new test-plugin output X-Git-Tag: Beta-15.0.0~560 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a35e361054709e7527ec4b63a0368e7a5702229;p=thirdparty%2Fbacula.git regress: Adapt plugin-object-test for new test-plugin output --- diff --git a/regress/tests/plugin-objects-test b/regress/tests/plugin-objects-test index 3e60a8441..1d61d8357 100755 --- a/regress/tests/plugin-objects-test +++ b/regress/tests/plugin-objects-test @@ -69,15 +69,15 @@ if [ "$id_postgres_obj" = "" ]; then fi n_OK=`cat ${cwd}/tmp/log3.out | grep -i "status: T" | wc -l` -if [ ${n_OK} -ne 2 ]; then +if [ ${n_OK} -ne 4 ]; then estat=1 - print_debug "ERROR: Wrong count of \'T\' status for objects in $tmp/log3.out, expected 2, got: ${n_OK}" + print_debug "ERROR: Wrong count of \'T\' status for objects in $tmp/log3.out, expected 4, got: ${n_OK}" fi n_UNSET=`cat ${cwd}/tmp/log3.out | grep -i "status: U" | wc -l` -if [ ${n_UNSET} -ne 4 ]; then +if [ ${n_UNSET} -ne 0 ]; then estat=1 - print_debug "ERROR: Wrong count of \'U\' status for objects in $tmp/log3.out, expected 4, got: ${n_UNSET}" + print_debug "ERROR: Wrong count of \'U\' status for objects in $tmp/log3.out, expected 0, got: ${n_UNSET}" fi