Add more tests to test script

This commit is contained in:
Chris Oei 2012-09-03 12:54:51 -07:00
parent da50aec4a2
commit b3d2d92c81
4 changed files with 19 additions and 1 deletions

View file

@ -1,5 +1,11 @@
#!/bin/bash
PROG=./scrypt-genpass
RESULTS=test/test_results.log
$PROG -t
$PROG -t > $RESULTS 2>&1
$PROG -h >> $RESULTS 2>&1
$PROG -p b a >> $RESULTS 2>&1
$PROG -k test/keyfile1.dat -p abc ghi >> $RESULTS 2>&1
diff $RESULTS test/test_results.reference