gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r36453 - gnunet/src/cadet


From: gnunet
Subject: [GNUnet-SVN] r36453 - gnunet/src/cadet
Date: Tue, 6 Oct 2015 19:50:47 +0200

Author: bartpolot
Date: 2015-10-06 19:50:47 +0200 (Tue, 06 Oct 2015)
New Revision: 36453

Modified:
   gnunet/src/cadet/loopcheck.sh
Log:
- fix script to work with barebone versions of sh


Modified: gnunet/src/cadet/loopcheck.sh
===================================================================
--- gnunet/src/cadet/loopcheck.sh       2015-10-06 16:17:08 UTC (rev 36452)
+++ gnunet/src/cadet/loopcheck.sh       2015-10-06 17:50:47 UTC (rev 36453)
@@ -1,10 +1,12 @@
 #!/bin/sh
 while true; do
-    if [ "$1" == "" ]; then
+    if [ "$1" = "" ]; then
+       echo All
        taskset 1 make check || break;
     else
+       echo One
        LOGFILE="test_`date "+%m.%d-%H:%M:%S"`.log"
-       taskset 1 $1 |& tee $LOGFILE | grep -v DEBUG;
+       taskset 01 $1 2>&1 | tee $LOGFILE | grep -v DEBUG;
        if [ "${PIPESTATUS[0]}" != "0" ]; then
            echo "Failed";
            date;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]