summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-11-01Adjust a seq subtest not to depend on the vagaries of floating point.Jim Meyering
* tests/misc/seq (float-3): Use 10.94 as the endpoint, not 10.95, since 10.95 was precisely in the middle of the interval, and with a %.1f format could map to either 10.9 or 11.0. Reported by Mike Frysinger
2007-11-01Make the new printf-surprise test more precise.Jim Meyering
* tests/test-lib.sh (require_ulimit_): New function. * tests/misc/printf-surprise: Use ulimit -v to trigger the fixed bug, and rather than checking printf's exit status (which would go wrong on FreeBSD 6.1, since their printf(3) function doesn't require lots of memory in this case) simply test whether it outputs the first 10 bytes.
2007-11-01Accommodate FreeBSD 6.1 hard-link-to-symlink differences.Jim Meyering
* tests/cp/same-file: Detect when linking to a symlink links to the target of the symlink (FreeBSD 6.1 does this, Linux does not), and skip the few tests that would otherwise fail. Redirect output of final comparison to stderr, since all stdout is already redirected.
2007-10-31Fix a "make distcheck" failure.Jim Meyering
* Makefile.maint (my-distcheck): Don't stub-out dirname, since build-aux/check.mk now uses it.
2007-10-31* bootstrap.conf (gnulib_modules): Add xprintf-posix.Jim Meyering
2007-10-30Avoid seq floating-point test failure on FreeBSD 6.1.Jim Meyering
* tests/misc/seq (float-4): Also accept -0.0.
2007-10-29Change a "make dist" diagnostic.Jim Meyering
* GNUmakefile: Don't imply that $(_curr-ver) is the new version string.
2007-10-29Improve color terminal escape usage.Bob Proulx
* build-aux/check.mk (am__tty_colors): Use 'tput' to deduce terminal color capabilities.
2007-10-29Don't try to colorize a dumb terminal.Jim Meyering
* build-aux/check.mk (am__tty_colors): Skip colors if $TERM is "dumb". Thanks to Bob Proulx.
2007-10-29Remove gnulib's printf-posix module, for now.Jim Meyering
* bootstrap.conf (gnulib_modules): It caused too many test failures.
2007-10-29Remove spurious semicolon after "else".Jim Meyering
* build-aux/check.mk (am__tty_colors): Fix syntax error.
2007-10-29Attribute suggestion for last change.Jim Meyering
2007-10-29If $TERM is empty, don't use colors. This helps the buildbot,Jim Meyering
since it produces its result in an environment with a tty, but we don't want color codes in that case. * build-aux/check.mk (am__tty_colors): Test for nonempty $TERM.
2007-10-29Always initialize terminal colorization string variables.Jim Meyering
* build-aux/check.mk (am__tty_colors): Always initialize red, grn, etc., In case they're defined in the environment.
2007-10-29Avoid test failure in non-srcdir build vs. the git tree.Jim Meyering
* tests/check.mk (vc_exe_in_TESTS): Run this test only in a srcdir build directory. Reported by Andreas Schwab.
2007-10-28Define ENOTSUP, not ENOSYS. Needed on OpenBSD 3.9.Jim Meyering
* gl/lib/se-context.in.h (ENOTSUP): Define if missing. * gl/lib/se-selinux.in.h: Likewise.
2007-10-28Define ENODATA, for FreeBSD 5.0 and 6.1.Jim Meyering
* src/system.h (ENODATA): Define, if missing.
2007-10-28Run autoreconf, not just autoconf, to avoid warnings.Jim Meyering
* GNUmakefile (dummy): Otherwise, we'd sometimes get a warning about autoconf version mismatch between what was used to generate aclocal.m4 and the currently-running autoconf.
2007-10-28Require gnulib's printf-posix module, to support Interix.Jim Meyering
* bootstrap.conf (gnulib_modules): Add printf-posix.
2007-10-28Help xgettext recognize more printf-style format strings.Jim Meyering
* bootstrap.conf (XGETTEXT_OPTIONS): Add directives for error, error_at_line, xasprintf, xfprintf and xprintf.
2007-10-27Adjust format string so msgfmt doesn't object.Jim Meyering
* src/df.c (main): Use "%s%s" (not %smsg) to print "msg" with or without a "Warning: " prefix. Reported by Clytie Siddall.
2007-10-27Clean up tests/Makefile.am.Jim Meyering
* tests/Makefile.am (EXTRA_DIST): Remove $(TESTS). No longer defined. (TESTS_ENVIRONMENT): Remove definition.
2007-10-27* build-aux/check.mk: Merge with latest from Akim.Jim Meyering
2007-10-27Add a test for the printf fix of 2007-10-21.Jim Meyering
* tests/misc/printf-surprise: New file. Test for 2007-10-21's fix. * tests/misc/Makefile.am (TESTS): Add printf-surprise.
2007-10-25Add attribution for the expr.c-vs-xgettext report.Jim Meyering
2007-10-25Remove vestiges of cvs-gnulib-checkout process. Now we use git.Jim Meyering
* bootstrap: Remove support for now-unnecessary option, --cvs-user, and envvars CVS_USER, CVS_RSH. 2007-10-24 Micah Cowan <micah@cowan.name>
2007-10-25Tell xgettext that "ARG1 % ARG2" is not a C format string.Micah Cowan
* src/expr.c (usage): Add a comment to override xgettext's default behavior, which would classify "ARG1 % ARG2" as a fprintf-style format string.
2007-10-24Avoid diagnostics from sha1sum when there is no cached checksum.Jim Meyering
* bootstrap (update_po_files): Skip the sha1sum check if the po.s1 file hasn't been created yet.
2007-10-24Get gnulib from the git repository, not from an obsolete cvs one.Jim Meyering
* bootstrap: Suggestion from Micah Cowan.
2007-10-24Doc improvements.Jim Meyering
* README-hacking: Prefer the no-hyphen variant of git commands, e.g., use "git pull" not "git-pull". Don't presume that the only way to read this document is via a prior git clone: provide instructions for cloning coreutils, too. * README-hacking: Add "cd automake" in build instructions. From Bob Proulx.
2007-10-24Don't fail part 2 of tests/rm/unreadable when run as root.Jim Meyering
* tests/rm/unreadable: With UID == 0, expect different results. Reported by Mike Frysinger.
2007-10-23* README-hacking: Refer to LZMA Utils <http://tukaani.org/lzma/>.Jim Meyering
2007-10-22* README-hacking: Describe how to build with LZMA.Paul Eggert
2007-10-22Remove git-version-gen's first parameter.Jim Meyering
* build-aux/git-version-gen: Add comments. Remove first command-line parameter. * configure.ac: Remove corresponding first argument. * GNUmakefile (_curr-ver): Likewise.
2007-10-21Attribute the printf bug report.Jim Meyering
2007-10-21* NEWS: Mention the printf fix.Jim Meyering
2007-10-21Reorder tests to run more basic ones earlier.Jim Meyering
* tests/misc/Makefile.am (TESTS): Reorder. * tests/Makefile.am (SUBDIRS): Reorder. Signed-off-by: Jim Meyering <meyering@redhat.com>
2007-10-21tr: do not reject an unmatched [:lower:] or [:upper:] in SET1.Jim Meyering
* NEWS: Mention this. * src/tr.c (get_next) [RE_CHAR_CLASS]: Don't skip the loop when processing [:lower:] and [:upper:]. (main): Require [:lower:] or [:upper:] in SET1 only when when one of those is specified in SET2. * tests/tr/Test.pm: Add tests for this fix. Reported by Per Starbäck. Signed-off-by: Jim Meyering <meyering@redhat.com>
2007-10-21* tests/misc/help-version: Add a comment.Jim Meyering
Signed-off-by: Jim Meyering <meyering@redhat.com>
2007-10-21Detect printf(3) failure due to ENOMEM.Jim Meyering
* src/printf.c: Include "xprintf.h" (print_direc): Use xprintf, rather than printf. * bootstrap.conf (gnulib_modules): Add xprintf. * po/POTFILES.in: Add lib/xprintf.c. Signed-off-by: Jim Meyering <meyering@redhat.com>
2007-10-21Put always-failing programs first in PATH, so tests cannot mistakenly run ↵Jim Meyering
installed versions. * Makefile.maint (my-distcheck): Set up a bogus bin/ dir, to be used for "make check". Signed-off-by: Jim Meyering <meyering@redhat.com>
2007-10-20* doc/coreutils.texi: Add a cross-reference to bashref's Process ↵Jim Meyering
Substitution node.
2007-10-20* doc/coreutils.texi (tee invocation): Fix typo. Add a little.Jim Meyering
2007-10-20Adjust tests to pass, now that Test.pm ones use check.mk.Jim Meyering
* tests/check.mk (vc_exe_in_TESTS): Adjust regexp not to match the "TESTS = $x-tests" line in each Test.pm-derived Makefile.am file. * tests/sort/main: Remove this unused file.
2007-10-20Ensure that Test.pm-derived tests use the right $PATH.Jim Meyering
* tests/Makefile.am.in: Include $(top_srcdir)/tests/check.mk.
2007-10-20Prevent "make check" from leaving mktemp /tmp/tmp.* files behind.Bob Proulx
* tests/misc/help-version (mktemp_args): Tell mktemp to create its temporary file in the current directory.
2007-10-16Show how to make tee redirect to multiple processes.Jim Meyering
2007-10-14Pull all TESTS_ENVIRONMENT settings "up" into tests/check.mk.Jim Meyering
* tests/Makefile.am.in (TESTS_ENVIRONMENT): Remove definition. * tests/chgrp/Makefile.am: Likewise. * tests/chmod/Makefile.am: Likewise. * tests/chown/Makefile.am: Likewise. * tests/cp/Makefile.am: Likewise. * tests/dd/Makefile.am: Likewise. * tests/du/Makefile.am: Likewise. * tests/install/Makefile.am: Likewise. * tests/ln/Makefile.am: Likewise. * tests/ls/Makefile.am: Likewise. * tests/misc/Makefile.am: Likewise. * tests/mkdir/Makefile.am: Likewise. * tests/mv/Makefile.am: Likewise. * tests/readlink/Makefile.am: Likewise. * tests/rm/Makefile.am: Likewise. * tests/rmdir/Makefile.am: Likewise. * tests/tail-2/Makefile.am: Likewise. * tests/touch/Makefile.am: Likewise. * tests/check.mk (TESTS_ENVIRONMENT) [EXEEXT, EGREP, MAKE, PERL]: [CONFIG_HEADER, build_programs, host_os, host_triplet, PATH]: [REPLACE_GETCWD, CU_TEST_NAME]: Add definitions here. * tests/misc/pwd-long: Use $abs_top_builddir/src, not $BUILD_SRC_DIR. * tests/dd/skip-seek: Don't use $ENV{PROG}. * tests/rm/empty-name: Likewise. * tests/rm/unreadable: Likewise. * tests/mv/i-1: Likewise.
2007-10-14Fix a minor typo.Jim Meyering
* configure.ac (AC_INIT): Fix a typo (s/9.6/6.9/) that makes a difference only when running "make dist" without a .git/ subdir.
2007-10-09Move the help-version test into misc/.Jim Meyering
* tests/help-version: Move to... * tests/misc/help-version: ...here. Source test-lib.sh, as usual. Use $abs_top_builddir, rather than ".." and "../..".