[Pkg-loop-aes-commits] r1306 - /trunk/loop-aes/debian/loop-aes-runtests

xam at users.alioth.debian.org xam at users.alioth.debian.org
Sun Oct 22 14:00:51 UTC 2006


Author: xam
Date: Sun Oct 22 14:00:50 2006
New Revision: 1306

URL: http://svn.debian.org/wsvn/pkg-loop-aes/?sc=1&rev=1306
Log:
Fix display of the failure message in quiet mode

Modified:
    trunk/loop-aes/debian/loop-aes-runtests

Modified: trunk/loop-aes/debian/loop-aes-runtests
URL: http://svn.debian.org/wsvn/pkg-loop-aes/trunk/loop-aes/debian/loop-aes-runtests?rev=1306&op=diff
==============================================================================
--- trunk/loop-aes/debian/loop-aes-runtests (original)
+++ trunk/loop-aes/debian/loop-aes-runtests Sun Oct 22 14:00:50 2006
@@ -38,10 +38,9 @@
 	runtests
 else
 	log=$(mktemp -t looptest.XXXXXXXXXX)
-	trap "echo test suite failed: see $log" EXIT
-
-	runtests >$log 2>&1
-
+	trap "echo test suite failed: see $log >/dev/tty" EXIT
+	exec >$log 2>&1
+	runtests
 	trap - EXIT
 	rm $log
 fi




More information about the Pkg-loop-aes-commits mailing list