X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=tools%2Frun-readtest.sh;h=abdfb254c7b6260fbddfea7d29cfcc8dcb2dd5aa;hb=f6ecfc063d81d1fa37cbef124afec7a92579f8d7;hp=e10a066fc854db19311448451f72e56753ab0faf;hpb=7ed158a79e225ea988eb52f3fd3f274d5260d5ec;p=ardour.git diff --git a/tools/run-readtest.sh b/tools/run-readtest.sh index e10a066fc8..abdfb254c7 100755 --- a/tools/run-readtest.sh +++ b/tools/run-readtest.sh @@ -7,6 +7,7 @@ nocache= interleave= needfiles=1 write_blocksize=262144 +args= if uname -a | grep --silent arwin ; then ddmega=m @@ -19,6 +20,9 @@ while [ $# -gt 1 ] ; do -d) dir=$2; shift; shift ;; -f) filesize=$2; shift; shift ;; -n) numfiles=$2; shift; shift ;; + -M) args="$args -M"; shift ;; + -D) args="$args -D"; shift ;; + -R) args="$args -R"; shift ;; *) break ;; esac done @@ -81,5 +85,5 @@ for bs in $@ ; do fi echo "# Blocksize $bs" - ./readtest -b $bs -q $dir/testfile_%d + ./readtest $args -b $bs -q $dir/testfile_%d done