1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 10:25:13 +03:00

tests: use known path for test in find

Actually make sure which 'test' binary is executed.
Since we used to have 'test' binary in tests.
This commit is contained in:
Zdenek Kabelac 2021-03-27 21:33:28 +01:00
parent 37d603268f
commit 12222add1a

View File

@ -582,7 +582,7 @@ teardown() {
# Remove any dangling symlink in /dev/disk (our tests can confuse udev) # Remove any dangling symlink in /dev/disk (our tests can confuse udev)
test -d /dev/disk && { test -d /dev/disk && {
find /dev/disk -type l ! -exec test -e {} \; -print | xargs rm -f || true find /dev/disk -type l ! -exec /usr/bin/test -e {} \; -print | xargs rm -f || true
} }
# Remove any metadata archives and backups from this test on system # Remove any metadata archives and backups from this test on system