diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-06-05 20:05:00 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-06-05 20:05:00 +0000 |
commit | 856e93df7667578d7a425e1ab6da71c113954f97 (patch) | |
tree | 8e768d8f0353c45269f1fcdbca1dc8c19e89f4ec /tests/misc/Makefile.in | |
parent | 8818e69748b0cbf4d0c63d4ca770aa4e7b2a1b8d (diff) | |
download | coreutils-856e93df7667578d7a425e1ab6da71c113954f97.tar.xz |
Rename file to avoid bugs with VPATH builds and Solaris 'make'.
Diffstat (limited to 'tests/misc/Makefile.in')
-rw-r--r-- | tests/misc/Makefile.in | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/tests/misc/Makefile.in b/tests/misc/Makefile.in index 7894a2f90..87e775fa7 100644 --- a/tests/misc/Makefile.in +++ b/tests/misc/Makefile.in @@ -311,8 +311,14 @@ TESTS_ENVIRONMENT = \ PERL="$(PERL)" \ BUILD_SRC_DIR="`pwd`/../../src" \ PATH="`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \ - PROG=$$tst + PROG=`../../src/basename -- "$$tst"` + +# Do not choose a name that is a shell keyword like 'if', or a +# commonly-used utility like 'cat' or 'test', as the name of a test. +# Otherwise, VPATH builds will fail on hosts like Solaris, since they +# will expand 'if test ...' to 'if .../test ...', and the '.../test' +# will execute the test script rather than the standard utility. TESTS = \ base64 \ basename \ @@ -322,7 +328,7 @@ TESTS = \ date-sec \ dirname \ expand \ - false \ + false-status \ fold \ head-c \ head-elide-tail \ @@ -335,12 +341,12 @@ TESTS = \ pathchk1 \ printf \ printf-hex \ - pwd \ + pwd-long \ sha224sum \ sha256sum \ sha384sum \ sha512sum \ - sort \ + sort-merge \ sort-rand \ split-a \ split-fail \ @@ -348,7 +354,7 @@ TESTS = \ stat-fmt \ stat-printf \ tac-continue \ - test \ + test-diag \ tty-eof all: all-am |