summaryrefslogtreecommitdiffstats
path: root/scripts/zpios-test/256th-65536rc-4rs-1cs-4off.sh
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-07-21 14:41:35 -0700
committerBrian Behlendorf <[email protected]>2009-07-21 14:41:35 -0700
commitefb9868b69545503634e057c6e7947a2ff77ca39 (patch)
treec2ee3ae34f4e1489b2c03da90b5ccaa3c5da36b1 /scripts/zpios-test/256th-65536rc-4rs-1cs-4off.sh
parent41c17d43e3bb20eb60f0f2002c386486b0f7b0a9 (diff)
Pretty-up the 'make check' output
Reasonable output from 'make check' now looks roughly like this. The big change is the consolidation of the all the zpion test results in to a single table which can be easily scanned for failures/problems. ==================================== ZTEST ==================================== 5 vdevs, 7 datasets, 23 threads, 300 seconds... Pass 1, SIGKILL, 1 ENOSPC, 13.8% of 238M used, 17% done, 4m07s to go Pass 2, SIGKILL, 1 ENOSPC, 23.7% of 238M used, 38% done, 3m04s to go Pass 3, SIGKILL, 0 ENOSPC, 27.0% of 238M used, 66% done, 1m42s to go Pass 4, SIGKILL, 0 ENOSPC, 27.4% of 238M used, 75% done, 1m14s to go Pass 5, SIGKILL, 0 ENOSPC, 27.9% of 238M used, 89% done, 32s to go Pass 6, Complete, 0 ENOSPC, 14.0% of 476M used, 100% done, 0s to go 5 killed, 1 completed, 83% kill rate ==================================== ZPIOS ==================================== status name id wr-data wr-ch wr-bw rd-data rd-ch rd-bw ------------------------------------------------------------------------------- PASS: file-raid0 0 64m 64 13.04m 64m 64 842.22m PASS: file-raid10 0 64m 64 134.19m 64m 64 842.22m PASS: file-raidz 0 64m 64 87.56m 64m 64 853.45m PASS: file-raidz2 0 64m 64 134.19m 64m 64 853.45m PASS: lo-raid0 0 64m 64 429.59m 64m 64 14.63m PASS: lo-raid10 0 64m 64 397.57m 64m 64 771.19m PASS: lo-raidz 0 64m 64 206.48m 64m 64 688.27m PASS: lo-raidz2 0 64m 64 14.34m 64m 64 711.21m
Diffstat (limited to 'scripts/zpios-test/256th-65536rc-4rs-1cs-4off.sh')
-rwxr-xr-xscripts/zpios-test/256th-65536rc-4rs-1cs-4off.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/scripts/zpios-test/256th-65536rc-4rs-1cs-4off.sh b/scripts/zpios-test/256th-65536rc-4rs-1cs-4off.sh
index 167bdad73..34f7ea64e 100755
--- a/scripts/zpios-test/256th-65536rc-4rs-1cs-4off.sh
+++ b/scripts/zpios-test/256th-65536rc-4rs-1cs-4off.sh
@@ -23,6 +23,7 @@
# --regionsize_incr -C =value
# --load -L =dmuio|ssf|fpp
# --pool -p =pool name
+# --name -M =test name
# --cleanup -x
# --prerun -P =pre-command
# --postrun -R =post-command
@@ -40,21 +41,25 @@
ZPIOS_CMD="${CMDDIR}/zpios/zpios \
--load=dmuio \
--pool=${ZPOOL_NAME} \
+ --name=${ZPOOL_CONFIG} \
--threadcount=256 \
--regioncount=65536 \
--regionsize=4M \
--chunksize=1M \
--offset=4M \
--cleanup \
- --verbose \
--human-readable \
${ZPIOS_OPTIONS}"
zpios_start() {
- echo ${ZPIOS_CMD}
+ if [ ${VERBOSE} ]; then
+ ZPIOS_CMD="${ZPIOS_CMD} --verbose"
+ echo ${ZPIOS_CMD}
+ fi
+
${ZPIOS_CMD} || exit 1
}
zpios_stop() {
- echo
+ [ ${VERBOSE} ] && echo
}