]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks/mds_client_limits: fix initial rm -rf
authorJohn Spray <jspray@redhat.com>
Mon, 15 Dec 2014 19:48:23 +0000 (19:48 +0000)
committerJohn Spray <jspray@redhat.com>
Thu, 18 Dec 2014 12:45:30 +0000 (12:45 +0000)
This was previously a no-op because it was trying
to delete "*" instead of *

Signed-off-by: John Spray <john.spray@redhat.com>
tasks/mds_client_limits.py

index 83434c54736ca3ac69791524428d5eabe939ee73..167325bbe7febd0179ff1e6e8ddf38081e0c6cae 100644 (file)
@@ -8,7 +8,7 @@ import contextlib
 import logging
 import time
 from unittest import SkipTest
-
+from teuthology.orchestra import run
 from teuthology.orchestra.run import CommandFailedError
 
 from tasks.cephfs.filesystem import Filesystem
@@ -95,7 +95,7 @@ class TestClientLimits(CephFSTestCase):
             self.mount_b.mount()
             self.mount_b.wait_until_mounted()
 
-        self.mount_a.run_shell(["rm", "-rf", "*"])
+        self.mount_a.run_shell(["sudo", "rm", "-rf", run.Raw("*")])
 
     def tearDown(self):
         self.fs.clear_firewall()