commit 7c55f633d61fe2e4b331e3febf7507c32a8df428
parent 1d815a1f7e3c9d7a33a973a75e0fa22e015508d2
Author: Jaromil <jaromil@dyne.org>
Date: Mon, 25 Aug 2014 21:06:45 +0200
small fix to tests
Diffstat:
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/extras/test/runtests b/extras/test/runtests
@@ -76,8 +76,6 @@ tt --ignore-swap --unsecure-dev-mode --tomb-pwd ${dummypass} lock /tmp/test.tomb
{ test $? = 0 } && { results+=(lock SUCCESS) }
-
-
notice "Testing open with wrong password"
tt -k /tmp/test.tomb.key --unsecure-dev-mode --tomb-pwd wrongpassword open /tmp/test.tomb
@@ -94,6 +92,8 @@ tt -k /tmp/test.tomb.key --unsecure-dev-mode --tomb-pwd ${dummypass} open /tmp/t
tt close test
+{ test $? = 0 } && { results+=(close SUCCESS) }
+
notice "Testing changing tomb password"
@@ -115,9 +115,6 @@ echo "$crc" > /media/test.tomb/datacheck.sha
tt --unsecure-dev-mode close test
-{ test $? = 0 } && { results+=(close SUCCESS) }
-
-
{ test $RESIZER = 1 } && {
notice "Testing resize to 30 MiB"