summaryrefslogtreecommitdiff
path: root/tests/Makefile.am
AgeCommit message (Collapse)Author
2007-01-13Put CU_TEST_NAME in the environment for each test run by "make check".Jim Meyering
* Transform all Makefile.am files so that when running "make check", CU_TEST_NAME is set to the name of the test. This is so that when I run valgrind-enabled (--log-file-qualifier=CU_TEST_NAME) "make check" on the entire package it is more convenient to map a leak or error found in a valgrind log file back to the offending test. Use this command: (echo tests/Makefile.am.in; find tests -name Makefile.am) \ |xargs perl -pi -e '/^(\s*)PATH=...VG_PATH_PREFIX/ and ' \ -e 'print $1,q|CU_TEST_NAME=`basename $(abs_srcdir)`,$$tst |,"\\\n"'
2006-11-21Arrange for "make check-root" to run the new root-only test.Jim Meyering
* tests/Makefile.am (t7): New target, to run tests/ls/nameless-uid. (all_t): Add t7.
2006-10-25new feature: rm accepts new option: --one-file-systemJim Meyering
Suggested by Steve McIntyre in <http://bugs.debian.org/392925>. * src/remove.h (struct rm_options) [one_file_system]: New member. * src/rm.c (rm_option_init): Initialize it. (usage): Document the option. * src/mv.c (rm_option_init): Likewise. * src/remove.c (remove_dir): With --one-file-system and --recursive, for each directory command line argument, do not affect a file system different from that of the starting directory. And give a diagnostic. * src/rm.c (ONE_FILE_SYSTEM): New enum. (main): Handle new option. * tests/rm/one-file-system: Test the above. * tests/rm/Makefile.am (TESTS): Add one-file-system. * tests/Makefile.am (check-root): Add the rm/one-file-system test to the list. (EXTRA_DIST): Add other-fs-tmpdir. * tests/mv/setup: Removed. Renamed to... * tests/other-fs-tmpdir: ...this new file. * tests/mv/Makefile.am (EXTRA_DIST): Remove setup. * tests/mv/acl: Reflect renaming: use ../other-fs-tmpdir. * tests/mv/backup-is-src: Likewise. * tests/mv/hard-link-1: Likewise. * tests/mv/leak-fd: Likewise. * tests/mv/mv-special-1: Likewise. * tests/mv/part-fail: Likewise. * tests/mv/part-hardlink: Likewise. * tests/mv/part-rename: Likewise. * tests/mv/part-symlink: Likewise. * tests/mv/partition-perm: Likewise. * tests/mv/to-symlink: Likewise. * tests/mv/into-self-2: Likewise. [doc/ChangeLog] * coreutils.texi (rm invocation): Describe --one-file-system.
2006-10-24Don't let a failure in one test stop "make -k".Jim Meyering
* tests/Makefile.am (t1 t2 t3 t4 t5): New targets. (check-root): Depend on them, rather than executing the five commands in a single rule. Reported by Greg Schafer.
2006-08-19* tests/Makefile.am (EXTRA_DIST): Add sparse-file.Jim Meyering
2006-07-03* tests/Makefile.am, tests/*/Makefile.am: (TESTS_ENVIRONMENT):Jim Meyering
Add $VG_PATH_PREFIX as a prefix to $PATH
2006-07-03* tests/envvar-check (vars): Add CDPATH and POSIXLY_CORRECT.Jim Meyering
* tests/Makefile.am (evar-check): Remove rule. (EXTRA_DIST): Remove .env-warn. * tests/.env-warn: Remove file. No longer used. Suggestion from Eric Blake.
2006-03-26(SUBDIRS): Remove basename.Jim Meyering
2006-01-24(check-root): Add tail-2/append-onlyJim Meyering
2006-01-13(SUBDIRS): Add comments discouraging theJim Meyering
addition of new directories under tests/.
2005-11-24(EXTRA_DIST): Add acl to the list.Jim Meyering
2005-11-04(EXTRA_DIST): Add very-expensive.Jim Meyering
2005-08-13(SUBDIRS): Remove date.Jim Meyering
2005-06-22(EXTRA_DIST): Add umask-check.Paul Eggert
2005-04-20(EXTRA_DIST): Add Coreutils.pm and remove Fetish.pm.Paul Eggert
2005-04-05(SUBDIRS): Add tee.Jim Meyering
2005-01-30(.PHONY): Add check-root and root-hint.Jim Meyering
2005-01-04(check-root): Update.Jim Meyering
2004-07-06(SUBDIRS): Add readlink.Jim Meyering
2004-05-13 Don't assume that "make -C" works; Solaris "make" doesn't have -C.Jim Meyering
* src/Makefile.am (all_programs.list): New rule, copied from man/Makefile.am and tests/Makefile.am, except that we use the system tr rather than ./tr and we don't use tr -s. * tests/Makefile.am (all_programs): Use it.
2004-01-08(TESTS_ENVIRONMENT): Remove `/vg' (prerelease testJim Meyering
remnant) from PATH component. That would cause tests in this directory not to run the just-built binaries, but rather whatever happened to be in one's PATH. Reported by Christian Krackowizer.
2003-12-20(root-hint): Tweak wording.Jim Meyering
2003-11-20(TESTS_ENVIRONMENT): Add $PACKAGE_BUGREPORT.Jim Meyering
2003-09-10(programs): Use ../src/tr -s ' ' '\n' in placeJim Meyering
of `fmt -1'. Using the just-built tr is a little cleaner. Christian Krackowizer reported that HPUX 10.20 doesn't have fmt.
2003-08-15(ASSORT): New var.Jim Meyering
(all_programs): Use it.
2003-08-01(TESTS_ENVIRONMENT): Set PATH so thatJim Meyering
the tests in help-version will use the just-built binaries.
2003-07-29(all_programs): Makefile is in ../src, not $(srcdir)/../src.Jim Meyering
2003-07-16(all_programs): Define.Jim Meyering
(TESTS_ENVIRONMENT): Use it.
2003-03-08(evar-check): Check for POSIXLY_CORRECT not as aJim Meyering
shell variable, but only in the environment. With /bin/sh->bash, the shell variable is set to `y', and that would cause a spurious warning.
2003-03-08(check-root): Remove touch/fifo.Jim Meyering
It doesn't appear to have to be run as root.
2003-03-04(check-root): Add fail-2eperm.Jim Meyering
2003-02-20Rename phony target envvar-check to evar-checkJim Meyering
so as not to conflict with the distributed file by the same name.
2002-07-02(EXTRA_DIST): Merge.Jim Meyering
2002-07-01whoops.Jim Meyering
2002-07-01mergeJim Meyering