mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-22 12:35:13 +00:00
small fixes to run clean tests
This commit is contained in:
parent
cb699189e7
commit
5996beab0e
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user