From: Eric Bollengier Date: Thu, 18 Mar 2021 13:55:32 +0000 (+0100) Subject: regress: Test the output of test-plugin for store_alist_str() method X-Git-Tag: Release-11.3.2~614 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fdb0069262ec7e4f71d21d37d800c75c63c4c8a;p=thirdparty%2Fbacula.git regress: Test the output of test-plugin for store_alist_str() method --- diff --git a/regress/tests/plugin-test b/regress/tests/plugin-test index d02b330ce..ced942116 100755 --- a/regress/tests/plugin-test +++ b/regress/tests/plugin-test @@ -157,6 +157,18 @@ mod mod 1 My new string +mod +4 +yes +mod +5 +test1 +mod +5 +test2 +mod +5 +test3="this is a test" yes yes wait @@ -212,6 +224,12 @@ if [ $? != 0 ]; then estat=1 fi +grep '[test1][test2][test3="this is a test"]' $tmp/log3.out > /dev/null +if [ $? != 0 ]; then + print_debug "ERROR: list plugin option keyword not available in $tmp/log3.out" + estat=1 +fi + # the test-plugin should create a RestoreObject, just check # compare restore object before/after