chiark / gitweb /
run-tests: Don't show echo_header commands
authorDaniel Martí <mvdan@mvdan.cc>
Sun, 1 Nov 2015 12:51:25 +0000 (13:51 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Sun, 1 Nov 2015 13:09:06 +0000 (14:09 +0100)
tests/run-tests

index 45deb8ba571aa5db792a464fdbcf741e05e610af..eb14493388f311dda1c0e96ef08fd05416ea30f8 100755 (executable)
@@ -4,8 +4,7 @@ set -e # quit script on error
 set -x # show each command as it is executed
 
 echo_header() {
-    echo "=============================================================================="
-    echo $1
+    { echo -e "==============================================================================\n$1"; } 2>/dev/null
 }
 
 copy_apks_into_repo() {