From 98d61ac4dbec9899e20ca38c7dac29790424fefe Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Sat, 13 Apr 2024 09:44:21 +0200 Subject: [PATCH] qa: krbd_msgr_segments.t: adapt to different vgremove outputs Some versions of lvm put a dot at the end. Fixes: https://tracker.ceph.com/issues/65481 Signed-off-by: Ilya Dryomov (cherry picked from commit b20951f189c6386a03fc399ead88acca6bd6e19d) --- qa/rbd/krbd_msgr_segments.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qa/rbd/krbd_msgr_segments.t b/qa/rbd/krbd_msgr_segments.t index b89a921a160ca..1e671b484ed9b 100644 --- a/qa/rbd/krbd_msgr_segments.t +++ b/qa/rbd/krbd_msgr_segments.t @@ -76,9 +76,9 @@ Cloned bios (dm-snapshot.ko, based on generic/081): $ sudo xfs_io -f -c 'pwrite 0 5M' /mnt/file1 >/dev/null $ sudo umount /mnt $ sudo vgremove -f vg_img - Logical volume "lv_snap" successfully removed - Logical volume "lv_img" successfully removed - Volume group "vg_img" successfully removed + Logical volume "lv_snap" successfully removed* (glob) + Logical volume "lv_img" successfully removed* (glob) + Volume group "vg_img" successfully removed* (glob) $ sudo pvremove $DEV Labels on physical volume "/dev/rbd?" successfully wiped* (glob) $ sudo rbd unmap $DEV -- 2.39.5