Fixed test numbering

This commit is contained in:
Heiko Reese
2021-09-11 11:41:12 +02:00
parent 649932c73c
commit 8845aaa653
3 changed files with 29 additions and 17 deletions

View File

@ -1,6 +1,5 @@
#!/bin/bash
set -e
PATH=/sbin:/usr/sbin:$PATH
# this script implements the TAP protocol (https://testanything.org)
@ -20,7 +19,6 @@ if [ "${CLEARTEXT}" == "${DECRYPTED}" ] ; then
echo "ok 1 - secretbox test successful"
else
echo "not ok 1 - secretbox test unsuccessful"
exit 127
fi
# { 0xb6, 0x01, 0x45, 0x20, 0x9f, 0x55, 0x06, 0x74, 0x29, 0x71, 0x7b, 0x5e, 0xa9, 0x68, 0x60, 0x5e, 0x81, 0x1a, 0x54, 0x6b, 0xc9, 0x80, 0x97, 0x78, 0x41, 0xc6, 0x20, 0xae, 0x66, 0x9f, 0xd9, 0x53 };
@ -35,5 +33,4 @@ if [ "${CLEARTEXT}" == "${DECRYPTED}" ] ; then
echo "ok 2 - sealed_box test successful"
else
echo "ok 2 - sealed_box test unsuccessful"
exit 128
fi