summaryrefslogtreecommitdiff
path: root/qa/workunits
diff options
context:
space:
mode:
authorSage Weil <sage.weil@dreamhost.com>2012-03-11 20:36:47 -0700
committerSage Weil <sage.weil@dreamhost.com>2012-03-11 20:36:47 -0700
commit945218cc3033606491f5bee797d7b1ff8e1c3d2b (patch)
treecb3b065b780a624ae8366c767286b73767eb3056 /qa/workunits
parenta8497874b7e2313f6ec0820f93ac135fe5e3d569 (diff)
downloadceph-945218cc3033606491f5bee797d7b1ff8e1c3d2b.tar.gz
qa/workunits/kclient/file_layout: escape *
Escape * so that it is expanded as root. Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
Diffstat (limited to 'qa/workunits')
-rwxr-xr-xqa/workunits/kclient/file_layout.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/qa/workunits/kclient/file_layout.sh b/qa/workunits/kclient/file_layout.sh
index 3b579a7d016..328b99fafb7 100755
--- a/qa/workunits/kclient/file_layout.sh
+++ b/qa/workunits/kclient/file_layout.sh
@@ -51,15 +51,15 @@ echo "hello, I'm a file with a custom layout" > layout_test/file2
touch layout_test/file3
cephfs layout_test/file3 show_layout > temp
diff new_layout temp || return 1
-sudo cat /sys/kernel/debug/ceph/*/mdsmap > temp
+sudo cat /sys/kernel/debug/ceph/\*/mdsmap > temp
ceph osd pool create newpool || true
ceph mds add_data_pool 3 || true
-sudo cat /sys/kernel/debug/ceph/*/mdsmap > temp2
+sudo cat /sys/kernel/debug/ceph/\*/mdsmap > temp2
while diff -q temp2 temp
do
echo "waiting for mdsmap to update"
sleep 1
- sudo cat /sys/kernel/debug/ceph/*/mdsmap > temp2
+ sudo cat /sys/kernel/debug/ceph/\*/mdsmap > temp2
done
sudo rm temp temp2