summaryrefslogtreecommitdiff
path: root/tests/ls
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ls')
-rw-r--r--tests/ls/Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/ls/Makefile.am b/tests/ls/Makefile.am
index 50acf4db5..9546bd23a 100644
--- a/tests/ls/Makefile.am
+++ b/tests/ls/Makefile.am
@@ -4,4 +4,8 @@ AUTOMAKE_OPTIONS = 1.2 gnits
TESTS = rt-1 time-1
EXTRA_DIST = $(TESTS)
-TESTS_ENVIRONMENT = LS=../../src/ls TOUCH=../../src/touch
+TESTS_ENVIRONMENT = \
+ top_srcdir=$(top_srcdir) \
+ srcdir=$(srcdir) \
+ PATH=`pwd`/../../src:$$PATH \
+ PROG=ls