]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/post-file.sh 2096/head
authorSage Weil <sage@redhat.com>
Fri, 11 Jul 2014 22:33:35 +0000 (15:33 -0700)
committerSage Weil <sage@redhat.com>
Fri, 11 Jul 2014 22:33:35 +0000 (15:33 -0700)
Test ceph-post-file.

Signed-off-by: Sage Weil <sage@redhat.com>
qa/workunits/post-file.sh [new file with mode: 0755]

diff --git a/qa/workunits/post-file.sh b/qa/workunits/post-file.sh
new file mode 100755 (executable)
index 0000000..a6fb765
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash -ex
+
+what="$1"
+[ -z "$what" ] && what=/usr/share/base-files
+ceph-post-file -d ceph-test-workunit $what
+
+echo OK