From 8a366cebda597e960f1f49e245785f8fdedff0a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 28 Dec 2016 16:16:26 +0100 Subject: Make sure that info messages are printed before test case is run Useful for hanging tests also redirect stdout to /dev/null for better output on Travis. --- sam/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sam') diff --git a/sam/test.sh b/sam/test.sh index 0d904ff..3b3a1a5 100755 --- a/sam/test.sh +++ b/sam/test.sh @@ -73,7 +73,7 @@ for t in $TESTS; do printf "Running test %s with vis ... " "$t" - $VIS "+,{ $NL $CMD $NL wq! $VIS_OUT $NL }" "$IN" 2>/dev/null + $VIS "+,{ $NL $CMD $NL wq! $VIS_OUT $NL }" "$IN" >/dev/null 2>&1 if [ $? -ne 0 -o ! -e "$VIS_OUT" ]; then printf "ERROR\n" elif cmp -s "$REF" "$VIS_OUT"; then -- cgit v1.2.3