acl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Acl-devel] [PATCH acl/committed] test: fix out of tree tests


From: Mike Frysinger
Subject: [Acl-devel] [PATCH acl/committed] test: fix out of tree tests
Date: Mon, 18 Jun 2018 23:30:34 -0400

The run script is in $srcdir, not $PWD (aka $builddir).
This fixes `make distcheck`.
---
 test/runwrapper | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/runwrapper b/test/runwrapper
index 8281a1527a93..6e0e89994946 100755
--- a/test/runwrapper
+++ b/test/runwrapper
@@ -4,4 +4,4 @@ if [ -e "$PWD/.libs/libtestlookup.so" ]; then
        export LD_PRELOAD="$PWD/.libs/libtestlookup.so"
 fi
 
-$PWD/test/run $@
+"${srcdir:-${PWD}}"/test/run "$@"
-- 
2.17.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]