From: Eric Bollengier Date: Mon, 19 Dec 2022 16:40:59 +0000 (+0100) Subject: regress: Fix totp-auth-plugin-test X-Git-Tag: Beta-15.0.0~307 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a109139b1a9af256b9495bbc74d683c4da09da6;p=thirdparty%2Fbacula.git regress: Fix totp-auth-plugin-test --- diff --git a/regress/tests/totp-auth-plugin-test b/regress/tests/totp-auth-plugin-test index 208948c4c..64fcc77bd 100755 --- a/regress/tests/totp-auth-plugin-test +++ b/regress/tests/totp-auth-plugin-test @@ -280,14 +280,14 @@ EOF run_bconsole -$bin/btotp -r cons1 -q > $tmp/log7.out +$bin/btotp -r -n cons1 -q > $tmp/log7.out if [ $? != 0 ]; then print_debug "ERROR: Unable to delete a key $tmp/log7.out" estat=1 fi $bin/btotp -n cons1 -q > $tmp/log8.out -if [ $? == 0 ]; then +if [ $? = 0 ]; then print_debug "ERROR: Should not be able to display the QR code after deletion in $tmp/log8.out" estat=1 fi