Add more tests to test script
This commit is contained in:
parent
da50aec4a2
commit
b3d2d92c81
4 changed files with 19 additions and 1 deletions
|
@ -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
|
||||
|
|
Reference in a new issue