summaryrefslogtreecommitdiff
path: root/tests/fmbtest
Commit message (Collapse)AuthorAgeFilesLines
* maint: run "make update-copyright"Paul Eggert2021-01-011-1/+1
|
* maint: update all copyright year number rangesJim Meyering2020-01-011-1/+1
| | | | | | | | Run "make update-copyright" and then... * gnulib: Update to latest with copyright year adjusted. * tests/init.sh: Sync with gnulib to pick up copyright year. * bootstrap: Likewise. * doc/grep.in.1: Use "-" in copyright year ranges, not \en.
* maint: update all copyright dates via "make update-copyright"Jim Meyering2019-01-011-1/+1
| | | | * gnulib: Also update submodule for its copyright updates.
* maint: update gnulib and copyright dates for 2018Jim Meyering2018-01-061-1/+1
| | | | | | * gnulib: Update to latest. * all files: Run "make update-copyright". * bootstrap: Update from gnulib.
* maint: update gnulib and copyright dates for 2017Jim Meyering2017-01-011-1/+1
| | | | | * gnulib: Update to latest. * all files: Run "make update-copyright".
* tests/fmbtest: avoid false-failure due to reliance on MB-correct sedJim Meyering2016-09-241-12/+8
| | | | | | | | | | | * tests/fmbtest: Several of these tests would mistakenly fail due to postprocessing with a combination of sed and locale support that failed to handle some multibyte characters in the cs_CZ.UTF-8 locale. Instead of relying on sed's multibyte support or anything locale-related to perform this simple filtering, just use this: tr -cs '0-9' '[ *]' Also, rather than exporting LC_ALL, just set it for each command. Reported by Nelson H. F. Beebe. https://bugs.gnu.org/24534
* maint: update copyright year, bootstrap, init.shJim Meyering2016-01-011-1/+1
| | | | | | | | Run "make update-copyright" and then... * gnulib: Update to latest. * tests/init.sh: Update from gnulib. * bootstrap: Likewise.
* maint: update copyright year ranges to include 2015Jim Meyering2015-01-011-1/+1
| | | | | Run "make update-copyright". Also, ... * grep.texi: Update manually, converting each "--" to "-".
* tests: port fmbtest to CentOS 6 and earlierPaul Eggert2014-12-071-5/+9
| | | | | | * tests/fmbtest: Port to platforms where the 'sed' pattern '[^0-9]' does not match every non-digit character. Problem reported by Norihiro Tanaka in: http://bugs.gnu.org/19293
* tests: port to DarwinPaul Eggert2014-11-111-10/+11
| | | | | | | | | The 'sed' command 's/.//' does not delete all bytes in the C locale. Problem reported by Nelson H. F. Beebe. * tests/fmbtest: Don't assume that sed treats bytes with the top bit set as valid characters in the C locale, as this is not true for Darwin. Use the cs_CZ.UTF-8 locale instead, and simplify the sed script.
* maint: split long lines, and enforce the 80-column limitJim Meyering2014-06-271-8/+14
| | | | | | | | | | | | | | * cfg.mk (sc_long_lines): New rule, from coreutils; exempt tests/* * src/grep.c (usage): Tweak -F wording to shorten a line. Correct grammar in a comment. Split the --exclude-file=... description to fit within 80 columns. Use emit_bug_reporting_address, eliminating another long line. * src/dfa.c: Split long lines. No semantic change. * doc/grep.texi: Likewise. * tests/include-exclude: Split a long line. * tests/backref: Split long lines. * tests/empty: Likewise. * tests/fmbtest: Likewise.
* maint: update copyright dates for 2014Jim Meyering2014-01-011-1/+1
| | | | Do that by running "make update-copyright".
* maint: update all copyright year number rangesJim Meyering2013-01-041-1/+1
| | | | Run "make update-copyright".
* maint: update all copyright year number rangesJim Meyering2012-01-011-1/+1
| | | | Run "make update-copyright".
* tests: stop using skip_test_; use skip_ insteadJim Meyering2011-09-151-1/+1
| | | | | | | | * tests/init.cfg (skip_test_): Remove definition. Use the improved skip_ function from init.sh, now that it has the same feature. * tests/euc-mb: s/skip_test_/skip_/ * tests/sjis-mb: Likewise. * tests/fmbtest: Likewise.
* tests: make fmbtest explain (to stderr, not log) why it is skippedJim Meyering2011-09-151-2/+2
| | | | * tests/fmbtest: Use skip_ and fail_ to give better diagnostics.
* tests: use skip_test_, not skip_Jim Meyering2011-06-071-1/+1
| | | | | | | | | | | Use skip_test_, not skip_. The former prints its message both to the log file and to FD 9 (redirected to tty via tests/Makefile.am), while skip_ prints only to stderr, which goes to the log file. * tests/init.cfg (skip_test_): New function. Use skip_test_ in place of skip_ everywhere. * tests/fmbtest: s/skip_/skip_test_/ * tests/sjis-mb: Likewise. * tests/euc-mb: Likewise.
* tests: fmbtest: factorJim Meyering2011-06-071-12/+14
| | | | * tests/fmbtest: Factor out locale-name duplication.
* tests: fix skip-inducing typo in fmbtestJim Meyering2011-06-071-2/+2
| | | | | * tests/fmbtest: Fix locale name typo (s/cz_CZ/cs_CZ/) that would cause this test to be skipped every time.
* maint: update copyright year ranges to include 2011Jim Meyering2011-01-031-1/+1
| | | | Run "make update-copyright", so "make syntax-check" works in 2011.
* tests: normalize init.sh-sourcing codeJim Meyering2010-05-091-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/backref-multibyte-slow: Use one-line idiom. * tests/backref-word: Likewise. * tests/case-fold-backref: Likewise. * tests/case-fold-backslash-w: Likewise. * tests/case-fold-char-class: Likewise. * tests/case-fold-char-range: Likewise. * tests/case-fold-char-type: Likewise. * tests/char-class-multibyte: Likewise. * tests/dfaexec-multibyte: Likewise. * tests/empty: Likewise. * tests/euc-mb: Likewise. * tests/fedora: Likewise. * tests/fgrep-infloop: Likewise. * tests/fmbtest: Likewise. * tests/foad1: Likewise. * tests/ignore-mmap: Likewise. * tests/include-exclude: Likewise. * tests/max-count-vs-context: Likewise. * tests/pcre-z: Likewise. * tests/prefix-of-multibyte: Likewise. * tests/reversed-range-endpoints: Likewise. * tests/sjis-mb: Likewise. * tests/spencer1-locale: Likewise. * tests/word-delim-multibyte: Likewise. * tests/word-multi-file: Likewise.
* convert all TABs to equivalent spaces in indentationJim Meyering2010-04-081-6/+6
| | | | | | | | | | | | | | | | | | | Using this file, cat > leading-blank.exempt <<\EOF (?:^|\/)ChangeLog[^/]*$ (?:^|\/)(?:GNU)?[Mm]akefile[^/]*$ \.(?:am|mk)$ EOF run this command to convert all non-conforming leading white space to be all spaces: git ls-files \ | pcregrep -vf leading-blank.exempt \ | xargs pcregrep -l '^ *\t' \ | xargs perl -MText::Tabs -ni -le \ '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
* tests: use $(...) consistentlyPaolo Bonzini2010-03-291-14/+14
| | | | | | | | | | | | | * tests/backref.sh: Use `...' instead of ``...'' in comments. * tests/bre.awk: Use $(...) instead of `...`. * tests/ere.awk: Use $(...) instead of `...`. * tests/euc-mb: Use $(...) instead of `...`. * tests/fmbtest: Use $(...) instead of `...`. * tests/foad1: Use $(...) instead of `...`. * tests/pcre-z: Use $(...) instead of `...`. Quote output of grep. * tests/spencer1-locale.awk: Use $(...) instead of `...`. * tests/spencer1.awk: Use $(...) instead of `...`. * tests/yesno.sh: Use $(...) instead of `...`.
* tests: rename: fmbtest.sh -> fmbtestJim Meyering2010-03-281-0/+118
* tests/fmbtest.sh: Rename to ... * tests/fmbtest: ...this, dropping the .sh suffix. * tests/Makefile.am (TESTS): Reflect renaming.