1
0
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:
Klas Lindfors 2013-11-11 10:50:16 +01:00
parent 0f118cd5d0
commit c89c8b09c2

View File

@ -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