[sheepdog] [RFC PATCH 4/4] tests/functional: add a script for throughout test
MORITA Kazutaka
morita.kazutaka at gmail.com
Mon Aug 12 11:30:23 CEST 2013
From: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
tests/functional/checkall | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100755 tests/functional/checkall
diff --git a/tests/functional/checkall b/tests/functional/checkall
new file mode 100755
index 0000000..2e07999
--- /dev/null
+++ b/tests/functional/checkall
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+cd $(readlink -f $(dirname $0))
+
+for cluster in "" "-corosync" "-zk"; do
+ for md in "" "-md"; do
+ for cache_mode in "" "-writethrough" "-direct"; do
+ for journal in "" "-j size=64"; do
+ for obj_cache in "" "-w size=64"; do
+ echo cluster: $cluster
+ echo md: $md
+ echo cache_mode: $cache_mode
+ echo journal: $journal
+ echo obj_cache: $obj_cache
+
+ SHEEP_EXTRA_OPTIONS="$journal $obj_cache" \
+ ./check $cluster $md $cache_mode "$@"
+ done
+ done
+ done
+ done
+done
--
1.7.9.5
More information about the sheepdog
mailing list