Skip to contentSkip to conversation

LVM2/test harness.sh test-utils.sh

PATCH [email protected] 1 participant 1 message Oct 6, 2008

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2008-10-06 16:55:30

Modified files:
test : harness.sh test-utils.sh

Log message:
Add a workaround for missing losetup -s by jstava, and a print a stacktrace on errors (also by jstava). Currently requires bash, a fix for that may come later -- explicitly using bash to run tests in the meantime.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/harness.sh.diff?cvsroot=lvm2&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/test-utils.sh.diff?cvsroot=lvm2&r1=1.2&r2=1.3

test/harness.sh +1 -1
@@ -5,7 +5,7 @@
 
 for t in $tests; do
     printf "Running %-40s" "$t ..."
-    out=`sh ./$t 2>&1`
+    out=`bash ./$t 2>&1`
     ret=$?
     if test $ret = 0; then
 	echo " passed."
test/test-utils.sh +37 -6

64 lines not on this page · raw message