diff options
Diffstat (limited to 'gettext-tools/tests/msggrep-10')
-rw-r--r--[-rwxr-xr-x] | gettext-tools/tests/msggrep-10 | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gettext-tools/tests/msggrep-10 b/gettext-tools/tests/msggrep-10 index 140ea6d..753220b 100755..100644 --- a/gettext-tools/tests/msggrep-10 +++ b/gettext-tools/tests/msggrep-10 @@ -5,13 +5,7 @@ # <https://bugzilla.redhat.com/show_bug.cgi?id=483181> # <https://savannah.gnu.org/bugs/?25437> -tmpfiles="" -trap 'rm -fr $tmpfiles' 1 2 3 15 - : ${MSGGREP=msggrep} -echo a=b | LC_MESSAGES=C LC_ALL= ${MSGGREP} -P -K -e '^a$' > /dev/null -test $? = 0 || { rm -fr $tmpfiles; exit 1; } - -rm -fr $tmpfiles +echo a=b | LC_MESSAGES=C LC_ALL= ${MSGGREP} -P -K -e '^a$' > /dev/null || exit 1 exit $result |