Fix: regtest outputs valid TAP protocol
[urcu.git] / tests / benchmark / common.sh
old mode 100644 (file)
new mode 100755 (executable)
index 9eb03f8..1f5f07f
@@ -10,3 +10,17 @@ else
        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.022762 seconds and 4 git commands to generate.