Commit 9b31b1d7 authored by Niels Möller's avatar Niels Möller
Browse files

* src/testsuite/write-key-1-test: Use lsh-keygen --write-raw.

* src/testsuite/write-key-2-test: Likewise.

Rev: src/testsuite/write-key-1-test:1.4
Rev: src/testsuite/write-key-2-test:1.5
parent 5b19c8c7
......@@ -2,7 +2,7 @@
# Tests the key generation programs
echo Testing lsh-writekey
echo Testing lsh-keygen --read-raw
if [ -z "$srcdir" ] ; then
srcdir=`pwd`
......@@ -11,6 +11,6 @@ fi
. $srcdir/functions.sh
rm -f foo foo.pub
../lsh-writekey -c none -o foo < $srcdir/key-1.private && [ -s foo -a -s foo.pub ] && test_success
../lsh-keygen --read-raw -c none -o foo < $srcdir/key-1.private && [ -s foo -a -s foo.pub ] && test_success
test_done
......@@ -2,7 +2,7 @@
# Tests the key generation programs
echo Testing lsh-writekey with no argument
echo Testing lsh-keygen --read-raw with no argument
if [ -z "$srcdir" ] ; then
srcdir=`pwd`
......@@ -11,7 +11,7 @@ fi
. $srcdir/functions.sh
rm -rf temphome && mkdir temphome
HOME="`pwd`/temphome" ../lsh-writekey -c none < $srcdir/key-1.private \
HOME="`pwd`/temphome" ../lsh-keygen --read-raw -c none < $srcdir/key-1.private \
&& [ -s "temphome/.lsh/identity" -a -s "temphome/.lsh/identity.pub" ] && test_success
test_done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment