]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Add qa/workunits/rados/test.sh
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Wed, 17 Aug 2011 19:35:39 +0000 (12:35 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Wed, 17 Aug 2011 19:35:39 +0000 (12:35 -0700)
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
qa/workunits/rados/test.sh [new file with mode: 0755]

diff --git a/qa/workunits/rados/test.sh b/qa/workunits/rados/test.sh
new file mode 100755 (executable)
index 0000000..3355475
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+die() {
+    echo "${@}"
+    exit 1
+}
+
+for f in ./test_rados_api_*; do
+    if [ -x "${f}" ]; then
+        "${f}" || die "${f} failed."
+    fi
+done
+
+exit 0