Files
coreutils/tests/misc/Makefile.am
T
Paul Eggert 9e2b97bf35 * NEWS: Mention that df exits with nonzero status if it generates
no output.  This change was in 6.0 but inadvertently unmentioned.
* doc/coreutils.texi (df invocation): df exits nonzero if it outpus
nothing.
* src/df.c (file_systems_processed): Renamed from n_valid_args, and now
a boolean.
(show_dev): Don't set it until we actually output something.
Print the header if this is the first output.
(main): Don't print a header, as that is now show_dev's job.
* tests/misc/Makefile.am (TESTS): Add df.
* tests/misc/df: New file.
2006-08-15 23:41:24 +00:00

62 lines
1.2 KiB
Makefile

## Process this file with automake to produce Makefile.in -*-Makefile-*-.
EXTRA_DIST = $(TESTS)
TESTS_ENVIRONMENT = \
top_srcdir=$(top_srcdir) \
srcdir=$(srcdir) \
PACKAGE_VERSION=$(PACKAGE_VERSION) \
PERL="$(PERL)" \
BUILD_SRC_DIR="`pwd`/../../src" \
PATH="$(VG_PATH_PREFIX)`pwd`/../../src$(PATH_SEPARATOR)$$PATH" \
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 = \
wc-files0-from \
wc-files0 \
cat-proc \
base64 \
basename \
close-stdout \
csplit \
date \
date-sec \
df \
dirname \
expand \
false-status \
fold \
head-c \
head-elide-tail \
head-pos \
mknod \
nice \
nl \
nohup \
paste-no-nl \
pathchk1 \
printf \
printf-hex \
pwd-long \
sha224sum \
sha256sum \
sha384sum \
sha512sum \
shuf \
sort-merge \
sort-rand \
split-a \
split-fail \
split-l \
stat-fmt \
stat-printf \
tac-continue \
test-diag \
tty-eof