summaryrefslogtreecommitdiffstats
path: root/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* tests: adapt framework for upcoming automake-1.12Jim Meyering2012-01-314-16/+173
| | | | | | | | | * testsuite/check.mk (LOG_COMPILER): Define. (TESTS_ENVIRONMENT): Adapt to work with the upcoming automake-1.12; use "; 9>&2" at end. Move shell-or-perl to ... * testsuite/shell-or-perl: ... new helper script from coreutils. * testsuite/CuSkip.pm: New file, from coreutils. * testsuite/Makefile.am (EXTRA_DIST): Add CuSkip.pm and shell-or-perl.
* maint: make copyright statements more consistent; update gnulibJim Meyering2012-01-311-2/+2
| | | | | | | | * cfg.mk (update-copyright-env): Add UPDATE_COPYRIGHT_FORCE=1 to rejoin some split lines, and UPDATE_COPYRIGHT_USE_INTERVALS=2 to make update-copyright use only one year range. * gnulib: Update. * testsuite/files0-from: Adapt to gnulib's change from `q' to 'q'.
* build: update bootstrap from gnulib, and adaptJim Meyering2012-01-311-8/+109
| | | | | | | | | | | * bootstrap: Update from gnulib. * testsuite/init.sh: Update from gnulib. * bootstrap.conf (bootstrap_epilogue): Remove now-unnecessary, snippet that edited gnulib-tests/gnulib.mk. (gnulib_tool_option_extras): Add both --symlink and --makefile-name=gnulib.mk. Remove use of $bt. * lib/Makefile.am: Initialize numerous automake variables so that generated code in gnulib.mk may use += to append to them.
* maint: update all copyright year number rangesJim Meyering2012-01-0111-11/+11
| | | | Run "make update-copyright".
* tests: use "compare exp out", not "compare out exp"Jim Meyering2011-11-292-4/+4
| | | | | | | | | | | | | | | | Likewise, when an empty file is expected, use "compare /dev/null out", not "compare out /dev/null". I.e., specify the expected/desired contents via the first file name. Prompted by a suggestion from Bruno Haible in http://thread.gmane.org/gmane.comp.gnu.grep.bugs/4020/focus=29154 Run these commands: git grep -l -E 'compare [^ ]+ exp' \ |xargs perl -pi -e 's/\b(compare) (\S+) (exp\S*)/$1 $3 $2/' git grep -l -E 'compare [^ ]+ /dev/null' \ |xargs perl -pi -e 's,\b(compare) (\S+) (/dev/null),$1 $3 $2,' [here, there were none of the latter]
* tests: update init.sh from gnulibJim Meyering2011-08-031-50/+141
| | | | * testsuite/init.sh: Update from gnulib.
* tests: add a test for the lid radix-handling bugJim Meyering2011-08-022-0/+51
| | | | | | * testsuite/lid-radix: New file. * testsuite/Makefile.am (TESTS): Add it. * NEWS (Bug fixes): Mention it.
* tests: add tests for the lid -F ..N bugJim Meyering2011-05-242-1/+49
| | | | | | | * testsuite/lid-range: New file with tests based on a report by Shigio YAMAGUCHI in http://thread.gmane.org/gmane.comp.gnu.idutils.bugs/137 * testsuite/Makefile.am (TESTS): Add it. * NEWS (Bug fixes): Mention the bug fix.
* maint: update copyright year ranges to include 2011Jim Meyering2011-03-209-9/+9
| | | | Run "make update-copyright".
* tests: fix "make distcheck" failureJim Meyering2010-06-161-2/+4
| | | | | | * testsuite/help-version (mkid_setup): Tell mkid not to access the not-yet-installed id-lang.map file. (xtokid_setup): Likewise.
* tests: clean up "consistency" and limit the number of files it usesJim Meyering2010-06-162-23/+8
| | | | | | | | | | * testsuite/consistency: Use abs_top_srcdir. Perform tests only on files under src, so it doesn't take so long. Stop using "eval" and an explicit $bindir. Don't re-invoke "make". Not needed, now that $abs_top_srcdir is exported from Makefile (via check.mk) to this script. * testsuite/Makefile.am (consistency-real): Remove rule, now that we no longer use it.
* maint: update bootstrap and init.sh from gnulibJim Meyering2010-06-161-36/+61
| | | | | * bootstrap: Update from gnulib. * testsuite/init.sh: Likewise.
* tests: adjust help-versionJim Meyering2010-05-091-2/+1
| | | | * testsuite/help-version: Use one-line invocation of init.sh.
* build: update from gnulibJim Meyering2010-05-091-2/+7
| | | | | | * bootstrap: Update from gnulib. * testsuite/init.sh: Update from gnulib. * gnulib: Update to latest.
* tests: add help-version, from grepJim Meyering2010-05-014-2/+643
| | | | | | | | | | | * testsuite/help-version: New file. * testsuite/init.sh: New file, from gnulib. * testsuite/Makefile.am (EXTRA_DIST): Add init.sh. (TESTS): Add help-version. * cfg.mk (_hv_file): Define. * testsuite/check.mk (TESTS_ENVIRONMENT): Define VERSION, for help-version's cross check. (built_programs): Adjust to work, and to accommodate $(EXEEXT).
* maint: remove all .cvsignore filesJim Meyering2010-01-011-1/+0
|
* maint: update all FSF copyright year lists to include 2010Jim Meyering2010-01-017-7/+7
| | | | | | Use this command: git ls-files |grep -vE '^(\..*|COPYING|gnulib)$' |xargs \ env UPDATE_COPYRIGHT_USE_INTERVALS=1 build-aux/update-copyright
* maint: update copyright year lists to include 2009Jim Meyering2009-08-154-4/+4
|
* build: avoid "make distcheck" failure and distracting diagnosticsJim Meyering2009-08-151-5/+5
| | | | | | * testsuite/check.mk (built_programs): Rewrite so that it works. (TESTS_ENVIRONMENT): Use $$f, not $$tst. The latter included a $(srcdir)/ prefix that was fatal in the non-srcdir build case.
* tests: run the latest testJim Meyering2009-08-152-0/+2
| | | | | | * testsuite/Makefile.am (EXTRA_DIST): Add mkid-langopt. * NEWS: Tweak wording. * testsuite/mkid-langopt: Add a comment.
* mkid: avoid segfault with "-l OPT"Pedro J. Ruiz Lopez2009-08-131-0/+3
| | | | | | | | | * libidu/scanners.c: languages_0[] is not const anymore, since this would make impossible to set lang->lg_argv * libidu/scanners.c: language_save_arg now manages language options with zero or one argument. * doc/idutils.texi: update to reflect the behavior of mkid "-l" option. * testsuite/mkid-langopt: new test program.
* tests: remove now-unnecessary build-aux/check.mkJim Meyering2009-07-041-2/+1
| | | | | * build-aux/check.mk: Remove file. * testsuite/check.mk: Don't include build-aux/check.mk.
* tests: avoid a false-positive failureJim Meyering2009-07-041-2/+2
| | | | | | * testsuite/consistency: Manually remove single_file_token_bug.c from the list of files to be compared, since it would provoke a false positive.
* tests: update CuTmpdir.pm from coreutilsJim Meyering2009-07-041-11/+13
| | | | * testsuite/CuTmpdir.pm: Update from coreutils.
* remove wc-related code that doesn't apply hereJim Meyering2009-07-041-5/+0
| | | | | | * src/mkid.c: Don't handle a file name of "-" specially. * src/xtokid.c: Likewise. * testsuite/files0-from: Don't test for it.
* tests: add testing framework, and tests for the new optionJim Meyering2009-07-046-7/+967
| | | | | | | | | | | | | | | | | * 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.
* tests: adjust failure diagnostic to match realityJim Meyering2008-08-301-3/+3
| | | | | * testsuite/consistency: Correct suffix, s/xtokid/xti/ in diagnostics. Also fix a double temp-file naming bug: s/fid/lid/g.
* * testsuite/Makefile.am (TESTS_ENVIRONMENT): Remove abs_top_builddir ↵Jim Meyering2008-02-271-1/+0
| | | | setting. Not needed.
* Fix testsuite PATH for VPATH builds.Bob Proulx2008-02-141-1/+2
| | | | * testsuite/Makefile.am (PATH): Prepend $(abs_top_builddir).
* Add version report for aid program test dependency.Bob Proulx2008-02-141-0/+1
| | | | * testsuite/infloop-kawa-el [VERBOSE]: Print aid version.
* Avoid a test failure.Jim Meyering2008-01-142-1/+3
| | | | | | | | * testsuite/infloop-kawa-el: Invoke mkid with -m, since id-lang.map may not be installed yet. * testsuite/Makefile.am (TESTS_ENVIRONMENT): Set abs_top_srcdir. Signed-off-by: Jim Meyering <meyering@redhat.com>
* Avoid SPACE-TAB.Jim Meyering2008-01-141-2/+2
| | | | | | | * testsuite/consistency: Use TAB-SPACE, instead. * src/defid: Likewise. Signed-off-by: Jim Meyering <meyering@redhat.com>
* License upgrade to "GPL-3 or later"Pedro J. Ruiz Lopez2007-08-172-4/+17
|
* Temporary fix simply to avoid the infloop.Jim Meyering2007-01-192-1/+64
| | | | | | | | | | * libidu/scanners.c (get_token_lisp): Disable the code that treats '[]' as part of a kawa identifier. It could call ungetc two or three times in a row. One is the maximum. * testsuite/infloop-kawa-el: New file. Test for the above. * testsuite/Makefile.am (TESTS): Add infloop-kawa-el. (TESTS_ENVIRONMENT): Prepend build directory to PATH so that invoking e.g., "mkid" runs the just-built version of the tool.
* * remove generated files from CVSClaudio Fontana2006-07-212-444/+1
| | | | | * apply EDITOR env variable patch * updated ChangeLog
* * s/id-utils/idutils/g;Claudio Fontana2006-01-061-0/+2
| | | | * other small changes
* * started to address portability problems in the id-utils-4.0 releaseClaudio Fontana2005-12-271-0/+1
|
* * implemented fix for savannah support request sr #104712 andClaudio Fontana2005-12-154-2/+15
| | | | added test case
* * added inttostr module from gnulib, used in src/mkid.c to print anClaudio Fontana2005-12-111-0/+1
| | | | off_t portably using offtostr()
* *** empty log message ***Claudio Fontana2005-11-011-160/+332
|
* .Jim Meyering2000-06-061-38/+68
|
* update generated config filesGreg McGary2000-04-271-1/+0
|
* .Greg McGary1999-04-111-0/+1
|
* .Jim Meyering1999-03-291-0/+3
|
* .r3_2bGreg McGary1999-03-291-2/+1
|
* .Greg McGary1999-03-021-4/+4
|
* (DISTCLEANFILES): Arrange to remove ID.Jim Meyering1999-01-281-0/+2
|
* *** empty log message ***Jim Meyering1999-01-271-0/+1
|
* .Jim Meyering1999-01-271-1/+1
|
* .Jim Meyering1999-01-271-69/+144
|