Increase editable region alpha slightly.
[ardour.git] / tools / run-readtest.sh
index b50add4944558beeaa22d234b21af0e7b316023a..e10a066fc854db19311448451f72e56753ab0faf 100755 (executable)
@@ -19,7 +19,6 @@ while [ $# -gt 1 ] ; do
        -d) dir=$2; shift; shift ;;
        -f) filesize=$2; shift; shift ;;
        -n) numfiles=$2; shift; shift ;;
-       -N) nocache="-s"; shift; shift ;;
         *) break ;;
     esac
 done
@@ -27,7 +26,7 @@ done
 if [ -d $dir -a -f $dir/testfile_1 ] ; then
     # dir exists and has a testfile within it - reuse to avoid
     # recreating files
-    echo "Re-using files in $dir"
+    echo "Re-using files in $dir"
     needfiles=
 else
     dir=$dir/readtest_$$
@@ -40,7 +39,7 @@ else
 fi
 
 if [ x$needfiles != x ] ; then
-    echo "Building files for test..."
+    echo "Building files for test..."
     if [ x$interleave = x ] ; then
        
        #
@@ -73,7 +72,7 @@ for bs in $@ ; do
     if uname -a | grep --silent arwin ; then
         # clears cache on OS X
         sudo purge
-    elif [ -f /proc/sys/vm/drop_cache ] ; then
+    elif [ -f /proc/sys/vm/drop_caches ] ; then
         # Linux cache clearing
         echo 3 | sudo tee /proc/sys/vm/drop_caches >/dev/null
     else       
@@ -81,6 +80,6 @@ for bs in $@ ; do
         :
     fi
     
-    echo "Blocksize $bs"
-    ./readtest $nocache -b $bs -q $dir/testfile_%d
+    echo "Blocksize $bs"
+    ./readtest -b $bs -q $dir/testfile_%d
 done