summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-09-15Move the two tests in tests/sum/ to tests/misc/.Jim Meyering
* tests/sum/basic-1: Move this file to ... * tests/misc/sum: ...here. Don't rely on $PROG in env. * tests/sum/sysv: Move this file to ... * tests/misc/sum-sysv: ...here. Adapt it to use test-lib.sh. * tests/misc/Makefile.am (TESTS): Add sum and sum-sysv. * tests/Makefile.am (SUBDIRS): Remove sum. * tests/sum: Remove the directory. * configure.ac (AC_CONFIG_FILES): Remove tests/sum/Makefile.
2007-09-15Move the sole test in tests/tsort/ to tests/misc/tsort.Jim Meyering
* tests/tsort/basic-1: Move this file to ... * tests/misc/tsort: ...here. Don't rely on $PROG in env. * tests/misc/Makefile.am (TESTS): Add tsort. * tests/Makefile.am (SUBDIRS): Remove tsort. * tests/tsort: Remove the directory. * configure.ac (AC_CONFIG_FILES): Remove tests/tsort/Makefile.
2007-09-15Move the sole test in tests/unexpand to tests/misc/unexpand.Jim Meyering
* tests/unexpand/basic-1: Move this file to ... * tests/misc/unexpand: ...here. Don't rely on $PROG in env. * tests/misc/Makefile.am (TESTS): Add unexpand. * tests/Makefile.am (SUBDIRS): Remove unexpand. * tests/unexpand: Remove the directory. * configure.ac (AC_CONFIG_FILES): Remove tests/unexpand/Makefile.
2007-09-15Move the sole test in tests/seq to tests/misc/seq.Jim Meyering
* tests/seq/basic: Move this file to ... * tests/misc/seq: ...here. Don't rely on $PROG in env. * tests/misc/Makefile.am (TESTS): Add seq. * tests/Makefile.am (SUBDIRS): Remove seq. * tests/seq: Remove the directory. * configure.ac (AC_CONFIG_FILES): Remove tests/seq/Makefile
2007-09-15Convert tests/mkdir/ to use test-lib.sh.Jim Meyering
2007-09-15Move the two tests in tests/md5sum to tests/misc/md5sum.Jim Meyering
* tests/md5sum/basic-1: Move this file to ... * tests/misc/md5sum: ...here. Don't rely on $PROG in env. * tests/md5sum/newline-1: Move this file to ... * tests/misc/md5sum-newline: ...here. Don't rely on $PROG in env. * tests/misc/Makefile.am (TESTS): Add md5sum. * tests/Makefile.am (SUBDIRS): Remove md5sum. * tests/md5sum: Remove the directory. * configure.ac (AC_CONFIG_FILES): Remove tests/md5sum/Makefile
2007-09-15tests/sample-test: Update to use test-lib.sh.Jim Meyering
2007-09-15Convert tests/misc/ to use test-lib.sh, too.Jim Meyering
2007-09-15Convert tests/ls/, too.Jim Meyering
2007-09-15Convert tests/ln/, too.Jim Meyering
2007-09-15Convert tests/install/, too.Jim Meyering
2007-09-15Move the two tests in tests/fmt to tests/misc/fmt.Jim Meyering
* tests/fmt/basic: Move this file to ... * tests/misc/fmt: ...here. Don't rely on $PROG in env. * tests/fmt/long-line: Move this file to ... * tests/misc/fmt-long-line: ...here. * tests/misc/Makefile.am (TESTS): Add fmt. * tests/Makefile.am (SUBDIRS): Remove fmt. * tests/fmt: Remove the directory. * configure.ac (AC_CONFIG_FILES): Remove tests/fmt/Makefile
2007-09-15Move the sole test in tests/factor to tests/misc/factor.Jim Meyering
* tests/factor/basic: Move this file to ... * tests/misc/factor: ...here. Don't rely on $PROG in env. * tests/misc/Makefile.am (TESTS): Add factor. * tests/Makefile.am (SUBDIRS): Remove factor. * tests/factor: Remove the directory. * configure.ac (AC_CONFIG_FILES): Remove tests/factor/Makefile
2007-09-15Move the sole test in tests/expr to tests/misc/expr.Jim Meyering
* tests/expr/basic: Move this file to ... * tests/misc/expr: ...here. Don't rely on $PROG in env. * tests/misc/Makefile.am (TESTS): Add expr. * tests/Makefile.am (SUBDIRS): Remove expr. * tests/expr: Remove the directory. * configure.ac (AC_CONFIG_FILES): Remove tests/expr/Makefile
2007-09-15Convert tests/du/*, too.Jim Meyering
2007-09-15Move the sole test in tests/dircolors to tests/misc/dircolors.Jim Meyering
* tests/dircolors/simple: Move this file to... * tests/misc/dircolors: ...here. Don't rely on $PROG in env. * tests/misc/Makefile.am (TESTS): Add dircolors. * tests/Makefile.am (SUBDIRS): Remove dircolors. * tests/dircolors: Remove the directory. * configure.ac (AC_CONFIG_FILES): Remove tests/dircolors/Makefile
2007-09-15Convert tests/dd/*, too.Jim Meyering
2007-09-15Convert tests/mv, too.Jim Meyering
* tests/other-fs-tmpdir: Before, all callers would exit 77 upon failure to find the required dir. Now, exit 77 in this script so callers don't have to. Adjust callers.
2007-09-15Adjust chgrp, chmod, chown, cp tests to use test-lib.sh.Jim Meyering
* tests/check.mk: Also define abs_top_builddir.
2007-09-15Parallel "make check" support.Jim Meyering
* build-aux/check.mk: New file, from The Vaucanson Group. * .x-sc_GPL_version: New file, to allow "version 2 or later" in build-aux/check.mk. * Makefile.am (EXTRA_DIST): Add .x-sc_GPL_version. * tests/check.mk: New file. * tests/Makefile.am (EXTRA_DIST): Add check.mk, mkdtemp and test-lib.sh. Begin factoring "sample-test" out of test scripts. * tests/test-lib.sh: New file, to be sourced by all tests that were previously derived from the "sample-test" template. * tests/mkdtemp: New file. * tests/touch/dir-1: Use test-lib.sh. * tests/touch/empty-file: Likewise. * tests/touch/fail-diag: Likewise. * tests/touch/fifo: Likewise. * tests/touch/no-create-missing: Likewise. * tests/touch/no-rights: Likewise. Also, don't sleep. * tests/touch/not-owner: Likewise. * tests/touch/obsolescent: Likewise. * tests/touch/read-only: Likewise. * tests/touch/relative: Likewise. * tests/touch/Makefile.am: Include $(top_srcdir)/tests/check.mk, to get the parallel-"make check" bits. Move a slow test into tests/misc. * tests/check.mk: Wrapper. * tests/ls/time-1: Move this file to tests/misc/ls-time. * tests/misc/ls-time: New file. From tests/ls/time-1. * tests/ls/Makefile.am (TESTS): Remove time-1. * tests/misc/Makefile.am (TESTS): Add ls-time.
2007-09-15Add support for parallel "make check" (in tests/misc, for now)Jim Meyering
2007-09-15* vc-list-files: Remove mercurial support.Jim Meyering
Check for CVS first. Adjust comments.
2007-09-08Accommodate gnulib's renaming: __fpending.h -> fpending.h.Jim Meyering
* lib/t-fpending.c: Include "fpending.h", not "__fpending.h".
2007-09-07chmod: don't ignore a dangling symlinkJim Meyering
* NEWS: Mention the bug fix. * src/chmod.c (process_file): Handle the case of FTS_SLNONE, i.e., give a diagnostic saying we cannot operate on such a file. * tests/chmod/thru-dangling: Compare new stderr output with expected.
2007-09-07Add a test: demonstrate that chmod ignores a dangling symlinkBob Proulx
* tests/chmod/thru-dangling: New test. Fails. * tests/chmod/Makefile.am (TESTS): Add thru-dangling.
2007-09-05Adapt to new SELinux behavior: "?" vs. new "unlabeled"Jim Meyering
* src/ls.c (gobble_file): Interpret the new "unlabeled" indicator from getfilecon/lgetfilecon the same way we interpret a negative return value: no security context. So we don't print the "+". * tests/selinux: Recognize that "unlabeled" means insufficient support for SELinux, just like "?".
2007-09-03Run autoconf manually, if needed to get an updated version string.Jim Meyering
* GNUmakefile: Don't actually touch configure.ac. That would make git-version-gen always print "...-dirty".
2007-09-03Don't change '-'s to '.'s in the string from git-describe.Jim Meyering
* build-aux/git-version-gen: Leave '-'s in the string from git-describe. Otherwise, s/-/./g would make it too hard to distinguish the base version number from the appended .DD suffixes. 2007-09-03 Jim Meyering <jim@meyering.net>
2007-09-03README-hacking: Require rsync, rather than wget.Jim Meyering
2007-09-02* bootstrap (WGET_COMMAND): Remove code to set this variable.Jim Meyering
2007-09-02Ensure that $(VERSION) is up to date for dist-related targets.Jim Meyering
* GNUmakefile: Arrange to rerun autoconf, if the version reported by git-version-gen doesn't match $(VERSION), but only for dist targets. Signed-off-by: Jim Meyering <jim@meyering.net>
2007-09-02bootstrap: uses rsync to download the .po filesJim Meyering
* bootstrap (po_download_command_format): New global. (download_po_files): Use rsync. (update_po_files): Don't remove .po files after download, so future rsync runs can take advantage of the copies.
2007-09-01* bootstrap (gnulib_tool): Make sha1sum check quietly.Jim Meyering
Signed-off-by: Jim Meyering <jim@meyering.net>
2007-09-01Ensure that snapshot version changes make it to groups, too.Jim Meyering
* src/Makefile.am (groups): Depend on Makefile.
2007-09-01Make groups-version executable,Jim Meyering
* tests/misc/groups-version: ... as it was in the patch.
2007-08-31Test yesterday's change to groups.Eric Blake
* tests/misc/groups-version: New test. * tests/misc/Makefile.am (TESTS): Add groups-version.
2007-08-31Solve the unnecessary-.po-file-regeneration problem once and for all.Jim Meyering
* bootstrap (download_po_files): New function, renamed from get_translations. Now, downloads, but doesn't update LINGUAS. (update_po_files): New function.
2007-08-30Shorten the snapshot version string by removing the "g".Jim Meyering
* build-aux/git-version-gen: Remove git-describe's "g" that would always precede the abbreviated SHA1. Suggestion from Dmitry V. Levin.
2007-08-30Perform the s,rm,/bin/rm, fix-up properly. No more kludge.Jim Meyering
* Makefile.am (EXTRA_DIST): Remove .kludge-stamp. (.kludge-stamp): Remove rule. Instead, ... (dist-hook): Do the job here, operating on the file in $(distdir). (rm_subst): Adjust regexp to match "rm -f rm$(EXEEXT)", not "rm -f rm". (MAINTAINERCLEANFILES): s/+=/=/, now that this is the sole use. (dist-hook): Remove the legacy-from-cvs install-sh is-executable check. * .gitignore: Remove .kludge-stamp. Signed-off-by: Jim Meyering <jim@meyering.net>
2007-08-30Make inter-release --version output more useful.Jim Meyering
Now, each snapshot has a version "number" like 6.9-219-g58ddd, which indicates that it is built using the 219th change set (in _some_ repository) following the "v6.9" tag, and that 58ddd is a prefix of the commit SHA1. * build-aux/git-version-gen: New file. * configure.ac: Run it to set the version. * Makefile.am (dist-hook): Arrange so that .version appears only in distribution tarballs, never in a checked-out repository. * .gitignore: Add .version here, too. Just in case. Signed-off-by: Jim Meyering <jim@meyering.net>
2007-08-30* src/.gitignore: Ignore *.exe for platforms with non-empty $(EXEEXT).Eric Blake
2007-08-30Use PACKAGE_NAME instead of GNU_PACKAGE.Eric Blake
* src/Makefile.am (.sh, uninstall-local): Adjust all users of hand-rolled GNU_PACKAGE to instead use autoconf-provided PACKAGE_NAME. * src/basename.c (main): Likewise. * src/chroot.c (main): Likewise. * src/dirname.c (main): Likewise. * src/echo.c (main): Likewise. * src/expr.c (main): Likewise. * src/factor.c (main): Likewise. * src/groups.sh (version): Likewise. Also, reflect change in --version output due to GPLv3. * src/hostid.c (main): Likewise. * src/hostname.c (main): Likewise. * src/link.c (main): Likewise. * src/logname.c (main): Likewise. * src/nice.c (main): Likewise. * src/nohup.c (main): Likewise. * src/printenv.c (main): Likewise. * src/printf.c (main): Likewise. * src/pwd.c (main): Likewise. * src/setuidgid.c (main): Likewise. * src/sleep.c (main): Likewise. * src/system.h (case_GETOPT_VERSION_CHAR): Likewise. * src/test.c (main): Likewise. * src/true.c (main): Likewise. * src/unlink.c (main): Likewise. * src/uptime.c (main): Likewise. * src/users.c (main): Likewise. * src/whoami.c (main): Likewise. * src/yes.c (main): Likewise. * configure.ac (AC_CHECK_DECLS): No need to check strtoimax, strtoumax, since gnulib does this.
2007-08-29Ensure that TMPDIR is valid. Otherwise, it would cause test failures.Jim Meyering
* tests/misc/tty-eof: Set TMPDIR=. * tests/misc/sort-compress: Likewise.
2007-08-29Use EXIT_FAILURE, not EXIT_FAIL, now that EXIT_FAILURE is always 1.Jim Meyering
* src/system.h (EXIT_FAIL): Remove definition. * src/chroot.c (main): EXIT_FAIL -> EXIT_FAILURE. * src/env.c (main): Likewise. * src/nice.c (main): Likewise. * src/su.c (change_identity, main): Likewise. * src/tty.c (main): Likewise. Suggestion from Eric Blake.
2007-08-28* src/test.c (usage): Say that [ honors --help and --version, but test does not.Jim Meyering
2007-08-28By default, do not install hostname anymore; no kidding, this time.Jim Meyering
* src/Makefile.am (EXTRA_PROGRAMS): Remove hostname from this list, now that it's no longer being installed by default. This should have been part of the 2007-08-21 change. (check-duplicate-no-install): New rule to ensure this doesn't happen again. (check): Depend on it.
2007-08-28Reflect renaming: mreadlink-with-size -> areadlink-with-size.Jim Meyering
* bootstrap.conf: Update module name. * src/copy.c (copy_internal): Update header and function names. * src/ls.c (get_link_name): Likewise. * src/readlink.c (main): Likewise. * src/stat.c (print_stat): Likewise.
2007-08-28Add file system type names and magic numbers from "man 2 statfs".Jim Meyering
* src/stat.c (human_fstype): Also handle BEFS, BFS, BINFMT_MISC, FUSECTL, HUGETLBFS, NFSD and OPENPROM.
2007-08-27Add some file system type names and magic numbers from glibc.Jim Meyering
* src/stat.c (human_fstype): Add any file system names and values present in glibc's linux_fsinfo.h but not in this list. Alphabetize the S_* names and capitalize the hexadecimal constants.
2007-08-26tests/misc/fold: Fix a typo: missing \ in a never-seen diagnosticJim Meyering