From 7fdb0069262ec7e4f71d21d37d800c75c63c4c8a Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 18 Mar 2021 14:55:32 +0100 Subject: [PATCH] regress: Test the output of test-plugin for store_alist_str() method --- regress/tests/plugin-test | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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 -- 2.47.3