]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test: Make test_rados_tool.sh part of make check 5253/head
authorDavid Zafman <dzafman@redhat.com>
Wed, 15 Jul 2015 04:03:23 +0000 (21:03 -0700)
committerDavid Zafman <dzafman@redhat.com>
Fri, 17 Jul 2015 17:31:58 +0000 (10:31 -0700)
Signed-off-by: David Zafman <dzafman@redhat.com>
src/test/Makefile.am
src/test/cephtool-test-rados.sh [new file with mode: 0755]

index 3c8d630feb218192cfe405ea2379daecf52b3eea..f0b56dbe11dd4243d86e495da258fe2a08eb9a48 100644 (file)
@@ -68,6 +68,7 @@ check_SCRIPTS += \
        test/cephtool-test-osd.sh \
        test/cephtool-test-mon.sh \
        test/cephtool-test-mds.sh \
+       test/cephtool-test-rados.sh \
        unittest_bufferlist.sh \
        test/encoding/check-generated.sh \
        test/mon/osd-pool-create.sh \
diff --git a/src/test/cephtool-test-rados.sh b/src/test/cephtool-test-rados.sh
new file mode 100755 (executable)
index 0000000..8f9b551
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/bash
+#
+# Copyright (C) 2015 Red Hat <contact@redhat.com>
+#
+# Author: David Zafman <dzafman@redhat.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Library Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Library Public License for more details.
+#
+CEPH_CLI_TEST_DUP_COMMAND=1 \
+MON=1 OSD=3 CEPH_START='mon osd' CEPH_PORT=7205 test/vstart_wrapper.sh \
+    test/test_rados_tool.sh