Fix: regtest outputs valid TAP protocol
[urcu.git] / tests / benchmark / common.sh
index 9eb03f831c00491050fee072f05fff265a67e716..1f5f07f96622201075e02b33c4f284bad27366a9 100755 (executable)
@@ -10,3 +10,17 @@ else
        test_time_bin=""
 fi
 
        test_time_bin=""
 fi
 
+function cleanup()
+{
+        if [ x"$tmpfile" != x"" ]; then
+                rm -f $tmpfile
+        fi
+}
+
+function xseq () {
+       i=$1
+       while [[ "$i" -le "$2" ]]; do
+               echo "$i"
+               i=$(expr $i + 1)
+       done
+}
This page took 0.022759 seconds and 4 git commands to generate.