diff options
author | Jim Meyering <meyering@redhat.com> | 2008-10-23 22:44:10 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-07-04 18:47:49 +0200 |
commit | 582103c67e6718b484e052fc135cba7056eeaf0a (patch) | |
tree | 8c0bbe564d6d36d2e5fe1e80ea5165b006eb16ce /src | |
parent | 2da7dc21e77a43d43696abc86700dda9259cf091 (diff) | |
download | idutils-582103c67e6718b484e052fc135cba7056eeaf0a.tar.gz idutils-582103c67e6718b484e052fc135cba7056eeaf0a.tar.bz2 idutils-582103c67e6718b484e052fc135cba7056eeaf0a.zip |
tests: add testing framework, and tests for the new option
* NEWS (New features): Mention the new option.
* src/mkid.c (main): Adjust a diagnostic.
* src/xtokid.c (main): Adjust a diagnostic.
* bootstrap.conf (gnulib_modules): Add perl and posix_shell
* build-aux/check.mk: New file, from coreutils.
* testsuite/Coreutils.pm: Likewise.
* testsuite/CuTmpdir.pm: Likewise.
* testsuite/check.mk: Likewise.
* testsuite/envvar-check: Likewise.
* testsuite/files0-from: New test, based on one from coreutils.
* testsuite/Makefile.am (TESTS): Add files0-from.
(TESTS_ENVIRONMENT): Remove definition. Now it's in check.mk.
(EXTRA_DIST): Add Coreutils.pm CuTmpdir.pm envvar-check and check.mk.
Include $(srcdir)/check.mk.
Diffstat (limited to 'src')
-rw-r--r-- | src/mkid.c | 2 | ||||
-rw-r--r-- | src/xtokid.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -311,7 +311,7 @@ main (int argc, char **argv) { error (0, 0, _("extra operand %s"), quote (argv[optind])); fprintf (stderr, "%s\n", - _("File operands cannot be combined with --files0-from.")); + _("file operands cannot be combined with --files0-from")); usage(); } diff --git a/src/xtokid.c b/src/xtokid.c index 1c86e05..6311827 100644 --- a/src/xtokid.c +++ b/src/xtokid.c @@ -194,7 +194,7 @@ main (int argc, char **argv) { error (0, 0, _("extra operand %s"), quote (argv[optind])); fprintf (stderr, "%s\n", - _("File operands cannot be combined with --files0-from.")); + _("file operands cannot be combined with --files0-from")); usage(); } |