Add/fix copyright notices and adjust to latest GNU FDL.
[platform/upstream/coreutils.git] / tests / misc / Makefile.am
1 # Make miscellaneous coreutils tests.                   -*-Makefile-*-
2
3 # Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software
4 # Foundation, Inc.
5
6 # This program is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2 of the License, or
9 # (at your option) any later version.
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 # 02110-1301, USA.
20
21 EXTRA_DIST = $(TESTS)
22
23 TESTS_ENVIRONMENT = \
24   top_srcdir=$(top_srcdir) \
25   srcdir=$(srcdir) \
26   PACKAGE_VERSION=$(PACKAGE_VERSION) \
27   PERL="$(PERL)" \
28   BUILD_SRC_DIR="`pwd`/../../src" \
29   PATH="$(VG_PATH_PREFIX)`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
30   PROG=`../../src/basename -- "$$tst"`
31
32 # Do not choose a name that is a shell keyword like 'if', or a
33 # commonly-used utility like 'cat' or 'test', as the name of a test.
34 # Otherwise, VPATH builds will fail on hosts like Solaris, since they
35 # will expand 'if test ...' to 'if .../test ...', and the '.../test'
36 # will execute the test script rather than the standard utility.
37
38 TESTS = \
39   wc-files0-from \
40   wc-files0 \
41   cat-proc \
42   base64 \
43   basename \
44   close-stdout \
45   csplit \
46   date \
47   date-sec \
48   df \
49   dirname \
50   expand \
51   false-status \
52   fold \
53   head-c \
54   head-elide-tail \
55   head-pos \
56   mknod \
57   nice \
58   nl \
59   nohup \
60   paste-no-nl \
61   pathchk1 \
62   printf \
63   printf-hex \
64   pwd-long \
65   sha224sum \
66   sha256sum \
67   sha384sum \
68   sha512sum \
69   shuf \
70   sort-merge \
71   sort-rand \
72   split-a \
73   split-fail \
74   split-l \
75   stat-fmt \
76   stat-printf \
77   tac-continue \
78   test-diag \
79   tty-eof