diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2021-03-27 21:33:28 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2021-03-27 23:18:38 +0100 |
commit | 12222add1abb45ebbc0c6dfccb514bb75d4ae4ea (patch) | |
tree | 4532ffad0402fa760c16ba9fc9f6e6506d1fe92f | |
parent | 37d603268f98ba51d9fd9c734004274de8fcca1b (diff) | |
download | lvm2-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.sh | 2 |
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 |