[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r21407: {torflow} Remove a bash modernism. Heh |& is this new? But its just so (torflow/trunk/CircuitAnalysis/BuildTimes/CBT-Test)



Author: mikeperry
Date: 2010-01-12 18:02:43 +0000 (Tue, 12 Jan 2010)
New Revision: 21407

Modified:
   torflow/trunk/CircuitAnalysis/BuildTimes/CBT-Test/run_test.sh
Log:

Remove a bash modernism. Heh |& is this new? But its just so
obvious! Why wasn't it there before :) 



Modified: torflow/trunk/CircuitAnalysis/BuildTimes/CBT-Test/run_test.sh
===================================================================
--- torflow/trunk/CircuitAnalysis/BuildTimes/CBT-Test/run_test.sh	2010-01-12 16:55:41 UTC (rev 21406)
+++ torflow/trunk/CircuitAnalysis/BuildTimes/CBT-Test/run_test.sh	2010-01-12 18:02:43 UTC (rev 21407)
@@ -58,7 +58,7 @@
     $TOR_DIR/tor -f $TOR_DATA/torrc &
     sleep 10
     mkdir -p results/$p/$N
-    ./cbttest.py -p $p -o results/$p/$N |& tee results/$p/$N/cbt.log || exit
+    ./cbttest.py -p $p -o results/$p/$N 2>&1 | tee results/$p/$N/cbt.log || exit
     N=`expr $N + 1`
   done
 done
@@ -78,7 +78,7 @@
       $TOR_DIR/tor -f $TOR_DATA/torrc &
       sleep 10
       mkdir -p results/$p/$n/redo.$M
-      ./cbttest.py -r -p $p -o results/$p/$n/redo.$M |& tee results/$p/$n/redo.$M/cbt.log || exit
+      ./cbttest.py -r -p $p -o results/$p/$n/redo.$M 2>&1 | tee results/$p/$n/redo.$M/cbt.log || exit
       M=`expr $M + 1`
     done
   done