mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +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:
parent
37d603268f
commit
12222add1a
@ -582,7 +582,7 @@ teardown() {
|
||||
|
||||
# Remove any dangling symlink in /dev/disk (our tests can confuse udev)
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user