]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: narrow search to debug_asok
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 22 Sep 2023 00:46:50 +0000 (20:46 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 8 Nov 2023 18:43:47 +0000 (13:43 -0500)
To avoid matching debug_asok_assert_abort.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit b911cf42c058cde51ce5a57234845136e30743bd)

qa/workunits/mon/config.sh

index 1b00201ae48165f8336633065d4350f46bfdc37c..9a62081c6680209ada70419a1a0821946844b0c4 100755 (executable)
@@ -98,11 +98,11 @@ ceph tell osd.0 config unset debug_asok
 ceph tell osd.0 config unset debug_asok
 
 ceph config rm osd.0 debug_asok
-while ceph config show osd.0 | grep debug_asok | grep mon
+while ceph config show osd.0 | grep '^debug_asok[:[space]:]' | grep mon
 do
     sleep 1
 done
-ceph config show osd.0 | grep -c debug_asok | grep 0
+ceph config show osd.0 | grep -c '^debug_asok[:[space]:]' | grep 0
 
 ceph config set osd.0 osd_scrub_cost 123
 while ! ceph config show osd.0 | grep osd_scrub_cost | grep mon