]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
qa: don't assume that /dev/sda or /dev/vda is present in unmap.t
authorIlya Dryomov <idryomov@gmail.com>
Fri, 23 Jan 2026 13:48:53 +0000 (14:48 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 26 Jan 2026 08:53:33 +0000 (09:53 +0100)
commit63c4a157b363cefb8a65f126b19faf623113139b
tree91c191cc29f7a05303a8451b9b0a101cce19c002
parentc88a52f629ae02f3cc5aacf360073efad79fba07
qa: don't assume that /dev/sda or /dev/vda is present in unmap.t

Instead of hard-coding the block device name, use the block device that
is backing the filesystem that the test is running on.  We can be quite
sure it won't be an RBD device ;)

Fixes: https://tracker.ceph.com/issues/74529
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 2b5f0f4e7396114f9944a4987c38e18d4ecfbb1f)
src/test/cli-integration/rbd/unmap.t