mirror of
https://github.com/Yubico/yubikey-val.git
synced 2024-11-29 00:24:13 +01:00
run a validation with non-existing client
This commit is contained in:
parent
0f118cd5d0
commit
c89c8b09c2
@ -58,6 +58,16 @@ else
|
||||
echo "Success 1"
|
||||
fi
|
||||
|
||||
id="2"
|
||||
run_command $id $otp $nonce | grep -q 'status=NO_SUCH_CLIENT'
|
||||
if [ $? != 0 ]; then
|
||||
sudo tail /var/log/syslog
|
||||
exit 1
|
||||
else
|
||||
echo "Success 1"
|
||||
fi
|
||||
|
||||
id="1"
|
||||
run_command $id $otp $nonce | grep -q 'status=REPLAYED_REQUEST'
|
||||
if [ $? != 0 ]; then
|
||||
sudo tail /var/log/syslog
|
||||
|
Loading…
Reference in New Issue
Block a user