]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits: remove ceph-detect-init from rbdmapfile test
authorAlfredo Deza <adeza@redhat.com>
Wed, 30 May 2018 18:49:44 +0000 (14:49 -0400)
committerAlfredo Deza <adeza@redhat.com>
Wed, 13 Jun 2018 19:16:24 +0000 (15:16 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
qa/workunits/rbd/test_rbdmap_RBDMAPFILE.sh

index e5377f47072c6d24849d36b99d8449646e16f159..501c69cd5f2e7521168584ab5ff8f873323c03ae 100755 (executable)
@@ -6,15 +6,12 @@
 # a bogus log message to be emitted to the log because the RBDMAPFILE
 # environment variable is not set.
 #
-# When the bug is not present, starting the rbdmap service will emit 
-# no log messages, because /etc/ceph/rbdmap does not contain any lines 
+# When the bug is not present, starting the rbdmap service will emit
+# no log messages, because /etc/ceph/rbdmap does not contain any lines
 # that require processing.
 #
 set -ex
 
-which ceph-detect-init >/dev/null || exit 1
-[ "$(ceph-detect-init)" = "systemd" ] || exit 0
-
 echo "TEST: save timestamp for use later with journalctl --since"
 TIMESTAMP=$(date +%Y-%m-%d\ %H:%M:%S)
 
@@ -26,7 +23,7 @@ echo "TEST: restart the rbdmap.service"
 sudo systemctl restart rbdmap.service
 
 echo "TEST: ensure that /usr/bin/rbdmap runs to completion"
-until sudo systemctl status rbdmap.service | grep 'active (exited)' ; do 
+until sudo systemctl status rbdmap.service | grep 'active (exited)' ; do
     sleep 0.5
 done