summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-03-27 21:33:28 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2021-03-27 23:18:38 +0100
commit12222add1abb45ebbc0c6dfccb514bb75d4ae4ea (patch)
tree4532ffad0402fa760c16ba9fc9f6e6506d1fe92f
parent37d603268f98ba51d9fd9c734004274de8fcca1b (diff)
downloadlvm2-12222add1abb45ebbc0c6dfccb514bb75d4ae4ea.tar.gz
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.
-rw-r--r--test/lib/aux.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/aux.sh b/test/lib/aux.sh
index 0ce2b8b07..38191842d 100644
--- a/test/lib/aux.sh
+++ b/test/lib/aux.sh
@@ -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