src/testsuite/write-key-1-test
raw| 1 | #! /bin/sh |
| 2 | |
| 3 | # Tests the key generation programs |
| 4 | |
| 5 | echo Testing lsh-writekey |
| 6 | |
| 7 | if [ -z "$srcdir" ] ; then |
| 8 | srcdir=`pwd` |
| 9 | fi |
| 10 | |
| 11 | . $srcdir/functions.sh |
| 12 | |
| 13 | rm -f foo foo.pub |
| 14 | ../lsh-writekey -c none -o foo < $srcdir/key-1.private && [ -s foo -a -s foo.pub ] && test_success |
| 15 | |
| 16 | test_done |