]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa: Fix test_subvolume_snapshot_info_if_orphan_clone 48647/head
authorKotresh HR <khiremat@redhat.com>
Thu, 27 Oct 2022 12:49:49 +0000 (18:19 +0530)
committerKotresh HR <khiremat@redhat.com>
Fri, 2 Dec 2022 10:05:31 +0000 (15:35 +0530)
commitd387726f8683a753c8079a68b64f11c0aef820d6
tree2e2fcec35848a85972b5bfaf8402876c285db337
parent515cdf831be3bee7dc5d51fe2dc141c716f962a9
qa: Fix test_subvolume_snapshot_info_if_orphan_clone

Fixes the usage of the grep command. It was failing as below.

smithi008:> (cd /home/ubuntu/cephtest/mnt.0 && exec sudo grep '"clone' 'snaps"' \
-A3 ./volumes/_nogroup/subvolume_0000000000856603/.meta)
INFO:teuthology.orchestra.run.smithi008.stderr:grep: snaps": No such file or directory.

Fixes: https://tracker.ceph.com/issues/57446
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit b6291096d1205456a8320063d4d629ca093bd041)
qa/tasks/cephfs/test_volumes.py