diff options
author | Bruno Haible <bruno@clisp.org> | 2008-01-13 16:58:39 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:15:36 +0200 |
commit | 3ab41f2649ffe26278fb9657b0b81abcd3a799a5 (patch) | |
tree | 46f2c02df9afffb86e425b755620018539ebbdd8 /gettext-tools/tests/xgettext-glade-3 | |
parent | 43fba207dfab5e38b12b5ccd6775f6811ed34e5d (diff) | |
download | external_gettext-3ab41f2649ffe26278fb9657b0b81abcd3a799a5.zip external_gettext-3ab41f2649ffe26278fb9657b0b81abcd3a799a5.tar.gz external_gettext-3ab41f2649ffe26278fb9657b0b81abcd3a799a5.tar.bz2 |
Avoid test failures due to broken 'grep' program on OpenBSD 4.0.
Diffstat (limited to 'gettext-tools/tests/xgettext-glade-3')
-rwxr-xr-x | gettext-tools/tests/xgettext-glade-3 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gettext-tools/tests/xgettext-glade-3 b/gettext-tools/tests/xgettext-glade-3 index 9d6622b..c2041a8 100755 --- a/gettext-tools/tests/xgettext-glade-3 +++ b/gettext-tools/tests/xgettext-glade-3 @@ -170,7 +170,9 @@ tmpfiles="$tmpfiles xg-gl-3.tmp xg-gl-3.pot" : ${XGETTEXT=xgettext} ${XGETTEXT} -o xg-gl-3.tmp asciitable.glade2 test $? = 0 || { rm -fr $tmpfiles; exit 1; } -grep -v 'POT-Creation-Date' < xg-gl-3.tmp > xg-gl-3.pot +# Don't simplify this to "grep ... < xg-gl-3.tmp", otherwise OpenBSD 4.0 grep +# only outputs "Binary file (standard input) matches". +cat xg-gl-3.tmp | grep -v 'POT-Creation-Date' > xg-gl-3.pot tmpfiles="$tmpfiles xg-gl-3.ok" cat <<\EOF > xg-gl-3.ok |