mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-03-09 14:34:16 +02:00
* tests/require-perl: New file. * tests/Makefile.am (EXTRA_DIST): Add require-perl. * tests/dd/skip-seek: Use it, and remove manual tests. * tests/du/files0-from: Likewise. * tests/ls/nameless-uid: Likewise. * tests/misc/base64: Likewise. * tests/misc/basename: Likewise. * tests/misc/cut: Likewise. * tests/misc/date: Likewise. * tests/misc/dircolors: Likewise. * tests/misc/dirname: Likewise. * tests/misc/expand: Likewise. * tests/misc/expr: Likewise. * tests/misc/factor: Likewise. * tests/misc/fmt: Likewise. * tests/misc/fold: Likewise. * tests/misc/head-elide-tail: Likewise. * tests/misc/ls-misc: Likewise. * tests/misc/md5sum: Likewise. * tests/misc/md5sum-newline: Likewise. * tests/misc/mktemp: Likewise. * tests/misc/od: Likewise. * tests/misc/paste-no-nl: Likewise. * tests/misc/pr: Likewise. * tests/misc/pwd-long: Likewise. * tests/misc/seq: Likewise. * tests/misc/sha1sum: Likewise. * tests/misc/sha1sum-vec: Likewise. * tests/misc/sha224sum: Likewise. * tests/misc/sha256sum: Likewise. * tests/misc/sha384sum: Likewise. * tests/misc/sha512sum: Likewise. * tests/misc/sort-merge: Likewise. * tests/misc/stat-printf: Likewise. * tests/misc/sum: Likewise. * tests/misc/sum-sysv: Likewise. * tests/misc/test-diag: Likewise. * tests/misc/tsort: Likewise. * tests/misc/tty-eof: Likewise. * tests/misc/unexpand: Likewise. * tests/misc/wc-files0-from: Likewise. * tests/misc/xstrtol: Likewise. * tests/mv/i-1: Likewise. * tests/rm/empty-name: Likewise. * tests/rm/fail-eperm: Likewise. * tests/rm/unreadable: Likewise. (EXTRA_DIST): *do* require require-perl as a stand-alone, 'source'able script.
89 lines
2.3 KiB
Makefile
89 lines
2.3 KiB
Makefile
## Process this file with automake to produce Makefile.in -*-Makefile-*-.
|
|
|
|
# Sort in traditional ASCII order, regardless of the current locale;
|
|
# otherwise we may get into trouble with distinct strings that the
|
|
# current locale considers to be equal.
|
|
ASSORT = LC_ALL=C sort
|
|
|
|
built_programs = (cd ../src && MAKEFLAGS= $(MAKE) -s built_programs.list)
|
|
|
|
EXTRA_DIST = \
|
|
Coreutils.pm \
|
|
CuTmpdir.pm \
|
|
Makefile.am.in \
|
|
README \
|
|
check.mk \
|
|
envvar-check \
|
|
expensive \
|
|
group-names \
|
|
input-tty \
|
|
lang-default \
|
|
mk-script \
|
|
other-fs-tmpdir \
|
|
require-perl \
|
|
rwx-to-mode \
|
|
sample-test \
|
|
setgid-check \
|
|
sparse-file \
|
|
strace \
|
|
test-lib.sh \
|
|
umask-check
|
|
|
|
# Regarding ordering in SUBDIRS, place early in the list the tools that
|
|
# are most commonly used in test scripts. Every test script uses rm
|
|
# and chmod, so they have to be very early.
|
|
# Ordering within misc/ should handle the rest.
|
|
|
|
## N O T E :: Please do not add new tests/ directories.
|
|
## There are too many already. Put new tests in misc/.
|
|
SUBDIRS = \
|
|
rm \
|
|
chmod \
|
|
misc \
|
|
chgrp chown cp cut dd du head \
|
|
install join ln ls mkdir mv pr readlink rmdir \
|
|
sort tac tail tail-2 test touch tr \
|
|
uniq wc
|
|
## N O T E :: Please do not add new directories.
|
|
|
|
all_t = t1 t2 t3 t4 t5 t6 t7 t8 t9 ta tb tc td
|
|
.PHONY: check-root $(all_t)
|
|
check-root: $(all_t)
|
|
|
|
t1:
|
|
cd chown && $(MAKE) check TESTS=basic
|
|
t2:
|
|
cd cp && $(MAKE) check TESTS=special-bits
|
|
t3:
|
|
cd rm && $(MAKE) check TESTS=no-give-up
|
|
t4:
|
|
cd rm && $(MAKE) check TESTS=fail-2eperm
|
|
t5:
|
|
cd tail-2 && $(MAKE) check TESTS=append-only
|
|
t6:
|
|
cd rm && $(MAKE) check TESTS=one-file-system
|
|
t7:
|
|
cd ls && $(MAKE) check TESTS=nameless-uid
|
|
t8:
|
|
cd misc && $(MAKE) check TESTS=chcon
|
|
t9:
|
|
cd cp && $(MAKE) check TESTS=cp-a-selinux
|
|
ta:
|
|
cd mkdir && $(MAKE) check TESTS=writable-under-readonly
|
|
tb:
|
|
cd mv && $(MAKE) check TESTS=sticky-to-xpart
|
|
tc:
|
|
cd cp && $(MAKE) check TESTS=preserve-gid
|
|
td:
|
|
cd touch && $(MAKE) check TESTS=now-owned-by-other
|
|
|
|
check-recursive: root-hint
|
|
|
|
# Advertise `check-root' target.
|
|
.PHONY: root-hint
|
|
root-hint:
|
|
@echo '***********************************************************'
|
|
@echo "NOTICE: Some tests may be run only as root."
|
|
@echo " Do \`make check-root' as \`root' to run these tests."
|
|
@echo '***********************************************************'
|