mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
pimp readtest.
This commit is contained in:
parent
421d4aae2e
commit
b0405c3c2c
2 changed files with 85 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue