tomb

the crypto undertaker
git clone git://parazyd.org/tomb.git
Log | Files | Refs | README | LICENSE

commit 5996beab0e6b04560729249436e7a46c9cf770c2
parent cb699189e7f11ed1dbcdf854bfaf4ae02adc5c46
Author: Jaromil <jaromil@dyne.org>
Date:   Mon,  2 Jan 2017 06:24:27 +0100

small fixes to run clean tests

Diffstat:
Mextras/test/runtests | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/extras/test/runtests b/extras/test/runtests @@ -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`) @@ -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() { @@ -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}