tfix tests scripts to work after recent key refactoring - tomb - the crypto undertaker HTML git clone git://parazyd.org/tomb.git DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit 0b846a79e764d535ff8c70888c623e21fa1109e2 DIR parent db42a8fd3f614bd972d187bc52bab40ade2d0969 HTML Author: Jaromil <jaromil@dyne.org> Date: Wed, 2 Apr 2014 14:31:36 +0200 fix tests scripts to work after recent key refactoring Diffstat: M extras/test/runtests | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- DIR diff --git a/extras/test/runtests b/extras/test/runtests t@@ -77,7 +77,7 @@ tt --ignore-swap --unsecure-dev-mode --tomb-pwd ${dummypass} lock /tmp/test.tomb notice "Testing open with wrong password" -tt --unsecure-dev-mode --tomb-pwd wrongpassword open /tmp/test.tomb +tt -k /tmp/test.tomb.key --unsecure-dev-mode --tomb-pwd wrongpassword open /tmp/test.tomb { test $? = 0 } || { results+=(badpass SUCCESS) } t@@ -85,7 +85,7 @@ tt --unsecure-dev-mode --tomb-pwd wrongpassword open /tmp/test.tomb notice "Testing open with good password" -tt --unsecure-dev-mode --tomb-pwd ${dummypass} open /tmp/test.tomb +tt -k /tmp/test.tomb.key --unsecure-dev-mode --tomb-pwd ${dummypass} open /tmp/test.tomb { test $? = 0 } && { results+=(open SUCCESS) } t@@ -114,7 +114,7 @@ tt --unsecure-dev-mode close test notice "Testing contents integrity" -${T} --unsecure-dev-mode --tomb-pwd ${dummypass} open /tmp/test.tomb +${T} -k /tmp/test.tomb.key --unsecure-dev-mode --tomb-pwd ${dummypass} open /tmp/test.tomb crc2="sha256 /media/test.tomb/datacheck.raw" t@@ -129,7 +129,7 @@ echo $rnd > /media/test.tomb/test-$rnd echo "test-$rnd test-$rnd" > /media/test.tomb/bind-hooks touch $HOME/test-$rnd tt close test -tt --unsecure-dev-mode --tomb-pwd ${dummypass} open /tmp/test.tomb +tt -k /tmp/test.tomb.key --unsecure-dev-mode --tomb-pwd ${dummypass} open /tmp/test.tomb rnd2=`cat $HOME/test-$rnd` if [ "$rnd" = "$rnd2" ]; then notice "Bind hook on file matches"