tsmall fixes to run clean tests - tomb - the crypto undertaker
HTML git clone git://parazyd.org/tomb.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 5996beab0e6b04560729249436e7a46c9cf770c2
DIR parent cb699189e7f11ed1dbcdf854bfaf4ae02adc5c46
HTML Author: Jaromil <jaromil@dyne.org>
Date: Mon, 2 Jan 2017 06:24:27 +0100
small fixes to run clean tests
Diffstat:
M extras/test/runtests | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
DIR diff --git a/extras/test/runtests b/extras/test/runtests
t@@ -27,7 +27,7 @@ dummypassnew=changetest
GLOBAL_RESULT=0
-notice() { print; yes "${@}"; print; }
+notice() { print; _message "${@}"; print; }
error() { _warning " ${@}"; }
tt() {
start_loops=(`sudo losetup -a |cut -d: -f1`)
t@@ -122,10 +122,7 @@ test-bind-hooks() {
else
error "Bind hook on file reports incongruence"
fi
- rm -f "/media/test/$bindtest"
tt close test
- # Remove test file in HOME
- rm -f "$HOME/$bindtest"
}
test-set-key() {
t@@ -166,7 +163,7 @@ test-regression() {
OLDT="/tmp/tomb-regression/tomb"
version=`${OLDT} -v |& awk 'NR==1 {print $3}'`
- yes "tomb version: $version"
+ _message "tomb version: $version"
tests+=(oldnew-$version newold-$version)
sudo rm -f /tmp/regression-test.tomb{,.key}