summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/basename/Makefile.in4
-rw-r--r--tests/chgrp/Makefile.in2
-rw-r--r--tests/chmod/Makefile.in2
-rw-r--r--tests/chown/Makefile.in2
-rw-r--r--tests/cp/Makefile.in2
-rw-r--r--tests/cut/Makefile.in2
-rw-r--r--tests/date/Makefile.in2
-rw-r--r--tests/dd/Makefile.in4
-rw-r--r--tests/dircolors/Makefile.in4
-rw-r--r--tests/du/Makefile.in2
-rw-r--r--tests/expr/Makefile.in4
-rw-r--r--tests/factor/Makefile.in4
-rw-r--r--tests/fmt/Makefile.in4
-rw-r--r--tests/head/Makefile.in2
-rw-r--r--tests/install/Makefile.in2
-rw-r--r--tests/join/Makefile.in2
-rw-r--r--tests/ln/Makefile.in2
-rw-r--r--tests/ls-2/Makefile.in4
-rw-r--r--tests/ls/Makefile.in2
-rw-r--r--tests/md5sum/Makefile.in4
-rw-r--r--tests/misc/Makefile.in4
-rw-r--r--tests/mkdir/Makefile.in2
-rw-r--r--tests/mv/Makefile.in5
-rw-r--r--tests/od/Makefile.in4
-rw-r--r--tests/pr/Makefile.in2
-rw-r--r--tests/rm/Makefile.in4
-rw-r--r--tests/rmdir/Makefile.in4
-rw-r--r--tests/seq/Makefile.in4
-rw-r--r--tests/sha1sum/Makefile.in4
-rw-r--r--tests/shred/Makefile.in4
-rw-r--r--tests/sort/Makefile.in2
-rw-r--r--tests/stty/Makefile.in2
-rw-r--r--tests/sum/Makefile.in4
-rw-r--r--tests/tac/Makefile.in2
-rw-r--r--tests/tail-2/Makefile.in4
-rw-r--r--tests/tail/Makefile.in2
-rw-r--r--tests/test/Makefile.in2
-rw-r--r--tests/touch/Makefile.in2
-rw-r--r--tests/tr/Makefile.in2
-rw-r--r--tests/tsort/Makefile.in4
-rw-r--r--tests/unexpand/Makefile.in4
-rw-r--r--tests/uniq/Makefile.in2
-rw-r--r--tests/wc/Makefile.in2
43 files changed, 64 insertions, 63 deletions
diff --git a/tests/basename/Makefile.in b/tests/basename/Makefile.in
index 9cc773bc6..abbeabde2 100644
--- a/tests/basename/Makefile.in
+++ b/tests/basename/Makefile.in
@@ -155,8 +155,8 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
PROG=basename
subdir = tests/basename
diff --git a/tests/chgrp/Makefile.in b/tests/chgrp/Makefile.in
index 6f3d8ebf2..0941a63cb 100644
--- a/tests/chgrp/Makefile.in
+++ b/tests/chgrp/Makefile.in
@@ -153,7 +153,7 @@ AUTOMAKE_OPTIONS = 1.4 gnits
TESTS = basic deref recurse
EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH"
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
subdir = tests/chgrp
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/tests/chmod/Makefile.in b/tests/chmod/Makefile.in
index 6bca1c89b..133b28605 100644
--- a/tests/chmod/Makefile.in
+++ b/tests/chmod/Makefile.in
@@ -153,7 +153,7 @@ AUTOMAKE_OPTIONS = 1.4 gnits
TESTS = equals equal-x c-option setgid
EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH"
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
subdir = tests/chmod
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/tests/chown/Makefile.in b/tests/chown/Makefile.in
index 0bd10b039..cb5f49b65 100644
--- a/tests/chown/Makefile.in
+++ b/tests/chown/Makefile.in
@@ -153,7 +153,7 @@ AUTOMAKE_OPTIONS = 1.4 gnits
TESTS = basic
EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH"
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
subdir = tests/chown
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/tests/cp/Makefile.in b/tests/cp/Makefile.in
index a9c161142..b429cb36c 100644
--- a/tests/cp/Makefile.in
+++ b/tests/cp/Makefile.in
@@ -160,7 +160,7 @@ TESTS = \
EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
MAKE=$(MAKE) \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH"
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
subdir = tests/cp
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/tests/cut/Makefile.in b/tests/cut/Makefile.in
index 3f61d510b..88e0821ff 100644
--- a/tests/cut/Makefile.in
+++ b/tests/cut/Makefile.in
@@ -100,7 +100,7 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
+PERL = $(PERL)
POSUB = @POSUB@
POW_LIB = @POW_LIB@
RANLIB = @RANLIB@
diff --git a/tests/date/Makefile.in b/tests/date/Makefile.in
index ce9066f57..88ec0ef90 100644
--- a/tests/date/Makefile.in
+++ b/tests/date/Makefile.in
@@ -100,7 +100,7 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
+PERL = $(PERL)
POSUB = @POSUB@
POW_LIB = @POW_LIB@
RANLIB = @RANLIB@
diff --git a/tests/dd/Makefile.in b/tests/dd/Makefile.in
index 272a91d96..afcbb2f03 100644
--- a/tests/dd/Makefile.in
+++ b/tests/dd/Makefile.in
@@ -154,8 +154,8 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
PROG=dd
diff --git a/tests/dircolors/Makefile.in b/tests/dircolors/Makefile.in
index a2e5ac141..0655ab7ca 100644
--- a/tests/dircolors/Makefile.in
+++ b/tests/dircolors/Makefile.in
@@ -154,8 +154,8 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
PROG=dircolors
diff --git a/tests/du/Makefile.in b/tests/du/Makefile.in
index 728bc8742..5540ca185 100644
--- a/tests/du/Makefile.in
+++ b/tests/du/Makefile.in
@@ -156,7 +156,7 @@ TESTS = \
EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH"
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
subdir = tests/du
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/tests/expr/Makefile.in b/tests/expr/Makefile.in
index 1ffe2d328..35f0aadf6 100644
--- a/tests/expr/Makefile.in
+++ b/tests/expr/Makefile.in
@@ -155,8 +155,8 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
PROG=expr
subdir = tests/expr
diff --git a/tests/factor/Makefile.in b/tests/factor/Makefile.in
index b1be61b54..3a64dd00b 100644
--- a/tests/factor/Makefile.in
+++ b/tests/factor/Makefile.in
@@ -155,8 +155,8 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
PROG=factor
subdir = tests/factor
diff --git a/tests/fmt/Makefile.in b/tests/fmt/Makefile.in
index fc0cf25a1..538fbe0b0 100644
--- a/tests/fmt/Makefile.in
+++ b/tests/fmt/Makefile.in
@@ -154,8 +154,8 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
PROG=fmt
diff --git a/tests/head/Makefile.in b/tests/head/Makefile.in
index b7f6cc466..71becddce 100644
--- a/tests/head/Makefile.in
+++ b/tests/head/Makefile.in
@@ -100,7 +100,7 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
+PERL = $(PERL)
POSUB = @POSUB@
POW_LIB = @POW_LIB@
RANLIB = @RANLIB@
diff --git a/tests/install/Makefile.in b/tests/install/Makefile.in
index bba4bda63..a09145337 100644
--- a/tests/install/Makefile.in
+++ b/tests/install/Makefile.in
@@ -153,7 +153,7 @@ AUTOMAKE_OPTIONS = 1.3 gnits
TESTS = basic-1 create-leading
EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH"
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
subdir = tests/install
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/tests/join/Makefile.in b/tests/join/Makefile.in
index 5c1f2c60a..0aca3ce96 100644
--- a/tests/join/Makefile.in
+++ b/tests/join/Makefile.in
@@ -100,7 +100,7 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
+PERL = $(PERL)
POSUB = @POSUB@
POW_LIB = @POW_LIB@
RANLIB = @RANLIB@
diff --git a/tests/ln/Makefile.in b/tests/ln/Makefile.in
index d1e2935a3..6d1357183 100644
--- a/tests/ln/Makefile.in
+++ b/tests/ln/Makefile.in
@@ -153,7 +153,7 @@ AUTOMAKE_OPTIONS = 1.2 gnits
TESTS = target-1 sf-1 misc backup-1
EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH"
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
subdir = tests/ln
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/tests/ls-2/Makefile.in b/tests/ls-2/Makefile.in
index 1c5a22737..0231f1a4d 100644
--- a/tests/ls-2/Makefile.in
+++ b/tests/ls-2/Makefile.in
@@ -154,8 +154,8 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
PROG=ls
diff --git a/tests/ls/Makefile.in b/tests/ls/Makefile.in
index 412525b7d..84e34b3de 100644
--- a/tests/ls/Makefile.in
+++ b/tests/ls/Makefile.in
@@ -160,7 +160,7 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
PROG=ls
subdir = tests/ls
diff --git a/tests/md5sum/Makefile.in b/tests/md5sum/Makefile.in
index 3daac4d7f..3bb64e764 100644
--- a/tests/md5sum/Makefile.in
+++ b/tests/md5sum/Makefile.in
@@ -154,8 +154,8 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
PROG=md5sum
diff --git a/tests/misc/Makefile.in b/tests/misc/Makefile.in
index 4fc3fd7ce..1acb73d6a 100644
--- a/tests/misc/Makefile.in
+++ b/tests/misc/Makefile.in
@@ -154,8 +154,8 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
PROG=$$tst
diff --git a/tests/mkdir/Makefile.in b/tests/mkdir/Makefile.in
index 942c51795..bb9c65996 100644
--- a/tests/mkdir/Makefile.in
+++ b/tests/mkdir/Makefile.in
@@ -154,7 +154,7 @@ TESTS = p-1 p-2 special-1 perm parents t-slash
EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
srcdir=$(srcdir) \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH"
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
subdir = tests/mkdir
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/tests/mv/Makefile.in b/tests/mv/Makefile.in
index c1eb87c3e..a948dba68 100644
--- a/tests/mv/Makefile.in
+++ b/tests/mv/Makefile.in
@@ -151,6 +151,7 @@ target_alias = @target_alias@
AUTOMAKE_OPTIONS = 1.3 gnits
TESTS = \
+ hard-4 \
hard-3 \
hard-2 \
perm-1 \
@@ -165,8 +166,8 @@ TESTS = \
EXTRA_DIST = $(TESTS) setup
TESTS_ENVIRONMENT = \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
PROG=mv
subdir = tests/mv
diff --git a/tests/od/Makefile.in b/tests/od/Makefile.in
index a3f823039..275c9709d 100644
--- a/tests/od/Makefile.in
+++ b/tests/od/Makefile.in
@@ -154,8 +154,8 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH"
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
TESTS = od-N x8
diff --git a/tests/pr/Makefile.in b/tests/pr/Makefile.in
index 723e129d2..7b594c256 100644
--- a/tests/pr/Makefile.in
+++ b/tests/pr/Makefile.in
@@ -100,7 +100,7 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
+PERL = $(PERL)
POSUB = @POSUB@
POW_LIB = @POW_LIB@
RANLIB = @RANLIB@
diff --git a/tests/rm/Makefile.in b/tests/rm/Makefile.in
index 2c1b9bae7..3d1c09da9 100644
--- a/tests/rm/Makefile.in
+++ b/tests/rm/Makefile.in
@@ -163,8 +163,8 @@ TESTS_ENVIRONMENT = \
MKDIR=../../src/mkdir \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
PROG=rm
subdir = tests/rm
diff --git a/tests/rmdir/Makefile.in b/tests/rmdir/Makefile.in
index 2a7be030c..fa090f60d 100644
--- a/tests/rmdir/Makefile.in
+++ b/tests/rmdir/Makefile.in
@@ -156,8 +156,8 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
PROG=rmdir
subdir = tests/rmdir
diff --git a/tests/seq/Makefile.in b/tests/seq/Makefile.in
index ebadc8837..9222fe7fb 100644
--- a/tests/seq/Makefile.in
+++ b/tests/seq/Makefile.in
@@ -155,8 +155,8 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
PROG=seq
subdir = tests/seq
diff --git a/tests/sha1sum/Makefile.in b/tests/sha1sum/Makefile.in
index 4a19e7ef6..2597a175b 100644
--- a/tests/sha1sum/Makefile.in
+++ b/tests/sha1sum/Makefile.in
@@ -154,8 +154,8 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
PROG=sha1sum
diff --git a/tests/shred/Makefile.in b/tests/shred/Makefile.in
index 0ce0de053..339fa70fb 100644
--- a/tests/shred/Makefile.in
+++ b/tests/shred/Makefile.in
@@ -154,8 +154,8 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH"
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
TESTS = remove exact
diff --git a/tests/sort/Makefile.in b/tests/sort/Makefile.in
index 819ba2da7..d836b0a7b 100644
--- a/tests/sort/Makefile.in
+++ b/tests/sort/Makefile.in
@@ -100,7 +100,7 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
+PERL = $(PERL)
POSUB = @POSUB@
POW_LIB = @POW_LIB@
RANLIB = @RANLIB@
diff --git a/tests/stty/Makefile.in b/tests/stty/Makefile.in
index d0b405eb7..5777508d2 100644
--- a/tests/stty/Makefile.in
+++ b/tests/stty/Makefile.in
@@ -153,7 +153,7 @@ AUTOMAKE_OPTIONS = 1.2f gnits
TESTS = row-col-1 basic-1
EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH"
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
subdir = tests/stty
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/tests/sum/Makefile.in b/tests/sum/Makefile.in
index ab6c39f5d..3068e3e62 100644
--- a/tests/sum/Makefile.in
+++ b/tests/sum/Makefile.in
@@ -154,8 +154,8 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
PROG=sum
diff --git a/tests/tac/Makefile.in b/tests/tac/Makefile.in
index 50dab93ab..68b186938 100644
--- a/tests/tac/Makefile.in
+++ b/tests/tac/Makefile.in
@@ -100,7 +100,7 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
+PERL = $(PERL)
POSUB = @POSUB@
POW_LIB = @POW_LIB@
RANLIB = @RANLIB@
diff --git a/tests/tail-2/Makefile.in b/tests/tail-2/Makefile.in
index 4460936aa..7d6f4c4e9 100644
--- a/tests/tail-2/Makefile.in
+++ b/tests/tail-2/Makefile.in
@@ -154,8 +154,8 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
PROG=tail
diff --git a/tests/tail/Makefile.in b/tests/tail/Makefile.in
index ef33ee175..cd0df0e79 100644
--- a/tests/tail/Makefile.in
+++ b/tests/tail/Makefile.in
@@ -100,7 +100,7 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
+PERL = $(PERL)
POSUB = @POSUB@
POW_LIB = @POW_LIB@
RANLIB = @RANLIB@
diff --git a/tests/test/Makefile.in b/tests/test/Makefile.in
index 6b7bcdfee..b1f54fa9b 100644
--- a/tests/test/Makefile.in
+++ b/tests/test/Makefile.in
@@ -100,7 +100,7 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
+PERL = $(PERL)
POSUB = @POSUB@
POW_LIB = @POW_LIB@
RANLIB = @RANLIB@
diff --git a/tests/touch/Makefile.in b/tests/touch/Makefile.in
index 5cf53dd87..10050d41d 100644
--- a/tests/touch/Makefile.in
+++ b/tests/touch/Makefile.in
@@ -158,7 +158,7 @@ TESTS = \
EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
host_triplet=$(host_triplet) \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH"
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH"
subdir = tests/touch
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/tests/tr/Makefile.in b/tests/tr/Makefile.in
index 2481fe8ee..0609aa683 100644
--- a/tests/tr/Makefile.in
+++ b/tests/tr/Makefile.in
@@ -100,7 +100,7 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
+PERL = $(PERL)
POSUB = @POSUB@
POW_LIB = @POW_LIB@
RANLIB = @RANLIB@
diff --git a/tests/tsort/Makefile.in b/tests/tsort/Makefile.in
index 63a4456b1..f24cddb90 100644
--- a/tests/tsort/Makefile.in
+++ b/tests/tsort/Makefile.in
@@ -154,8 +154,8 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
PROG=tsort
diff --git a/tests/unexpand/Makefile.in b/tests/unexpand/Makefile.in
index e564991c1..993dddae5 100644
--- a/tests/unexpand/Makefile.in
+++ b/tests/unexpand/Makefile.in
@@ -154,8 +154,8 @@ EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
- PERL="@PERL@" \
- PATH="`pwd`/../../src@PATH_SEPARATOR@$$PATH" \
+ PERL="$(PERL)" \
+ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
PROG=unexpand
diff --git a/tests/uniq/Makefile.in b/tests/uniq/Makefile.in
index 3dfe162ff..1950b424e 100644
--- a/tests/uniq/Makefile.in
+++ b/tests/uniq/Makefile.in
@@ -100,7 +100,7 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
+PERL = $(PERL)
POSUB = @POSUB@
POW_LIB = @POW_LIB@
RANLIB = @RANLIB@
diff --git a/tests/wc/Makefile.in b/tests/wc/Makefile.in
index d6741d0a2..9bf24f715 100644
--- a/tests/wc/Makefile.in
+++ b/tests/wc/Makefile.in
@@ -100,7 +100,7 @@ PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
-PERL = @PERL@
+PERL = $(PERL)
POSUB = @POSUB@
POW_LIB = @POW_LIB@
RANLIB = @RANLIB@