1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-09-02 15:41:25 +03:00
Commit Graph

7 Commits

Author SHA1 Message Date
Bruno Haible
8feea9a035 test-framework-sh: Fix test failure with AIX 7.1 diff.
* tests/init.sh (compare_): Don't use 'diff -u' if it inserts a space
in column 1, like 'diff -c' does.
* tests/test-init.sh (test_compare): Don't repeat the test from init.sh
whether 'diff -u' is used. Instead, test whether the output contains
some '@' character.
2012-01-28 23:31:18 +01:00
Jim Meyering
89c006fbb4 test-init.sh: avoid a subshell
* tests/test-init.sh: Remove protective subshell.
Suggested by Bernhard Voelker.  While a subshell is normally
required to protect against older shells (Solaris, FreeBSD) that
warn about a missing program before performing redirection, the
shell-selection tests performed by init.sh probably exclude any
offending shell.
2012-01-09 10:12:28 +01:00
Bruno Haible
dc6246c519 test-init.sh: correct the test for diff -u
* tests/test-init.sh: Also redirect stdout to /dev/null.
2012-01-06 11:07:08 +01:00
Jim Meyering
742f863be9 test-init.sh: avoid failure on HP-UX 11.00
* tests/test-init.sh: Skip "diff -u"-comparing step when compare
resolves to diff -c or cmp.  Reported by Bruno Haible.
2012-01-05 17:47:28 +01:00
Jim Meyering
231295ee26 test-init.sh: accommodate Solaris 5.10's different diff -u output
* tests/test-init.sh: Also exempt @@ lines from the comparison
of diff output, since Solaris 5.10 and GNU diff formats differ.
Reported by Stefano Lattarini.
2012-01-05 15:27:38 +01:00
Jim Meyering
1602f0afed maint: update all copyright year number ranges
Run "make update-copyright".
2012-01-01 10:04:58 +01:00
Jim Meyering
3aa7f3195a test-framework-sh: add minimal tests of init.sh's compare function
* modules/test-framework-sh-tests: New file.
* tests/test-init.sh: New file.
2011-12-23 14:55:25 +01:00