]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/cephtool/test.sh: add sudo for daemon compact 16500/head
authorSage Weil <sage@redhat.com>
Sat, 22 Jul 2017 03:18:03 +0000 (23:18 -0400)
committerSage Weil <sage@redhat.com>
Sat, 22 Jul 2017 03:18:03 +0000 (23:18 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
qa/workunits/cephtool/test.sh

index 0b7d1ca038f0ec4b9fee9b9e8d68137a951e8884..504b730465248b5936dc21be6dddeb98351f587c 100755 (executable)
@@ -2404,7 +2404,7 @@ function test_osd_tell_help_command()
 function test_osd_compact()
 {
   ceph tell osd.1 compact
-  ceph daemon osd.1 compact
+  $SUDO ceph daemon osd.1 compact
 }
 
 function test_mds_tell_help_command()