diff options
author | Gary V. Vaughan <gary@gnu.org> | 2013-10-30 17:39:06 +1300 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2014-01-02 12:06:29 +1300 |
commit | 747c60634e269ecf740254d86f4a4a2500c20524 (patch) | |
tree | 0d221fa562edb94962130c7300550d8b12cafd05 /tests/am-subdir.at | |
parent | cc189e7daf95b91d22c585b2cdf6b787c8e3c3c6 (diff) | |
download | libtool-747c60634e269ecf740254d86f4a4a2500c20524.tar.gz |
tests: use $GREP throughout.
Trust the user, and use $GREP from TESTS_EVVIRONMENT uniformly.
* Makefile.am (TESTS_ENVIRONMENT): Add GREP setting.
* tests/am-subdir.at, tests/archive-in-archive.at, tests/bindir.at,
tests/configure-iface.at, tests/cwrapper.at, tests/darwin.at,
tests/demo.at, tests/destdir.at, tests/dumpbin-symbols.at,
tests/early-libtool.at, tests/execute-mode.at, tests/export-def.at,
tests/export.at, tests/f77demo.at, tests/fcdemo.at, tests/flags.at,
tests/help.at, tests/inherited_flags.at, tests/install.at,
tests/lalib-syntax.at, tests/libtool.at, tests/libtoolize.at,
tests/localization.at, tests/lt_dladvise.at, tests/lt_dlopen.at,
tests/lt_dlopenext.at, tests/ltdl-api.at, tests/ltdl-libdir.at,
tests/mdemo.at, tests/old-m4-iface.at, tests/pic_flag.at,
tests/resident.at, tests/runpath-in-lalib.at, tests/search-path.at,
tests/static.at, tests/sysroot.at, tests/template.at,
tests/testsuite.at, tests/versioning.at: Replace all hardcoded grep
invocations with $GREP.
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Diffstat (limited to 'tests/am-subdir.at')
-rw-r--r-- | tests/am-subdir.at | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/am-subdir.at b/tests/am-subdir.at index 59454266..cafcdc4f 100644 --- a/tests/am-subdir.at +++ b/tests/am-subdir.at @@ -78,9 +78,9 @@ void sub (void) { printf ("** This is libsub **\n"); } LT_AT_BOOTSTRAP([--copy], [-I m4], [ignore], [--add-missing]) LT_AT_EXEC_CHECK([subdir/subdemo], 0, stdout) -AT_CHECK([grep 'Welcome to GNU Libtool subdir-objects test' stdout], +AT_CHECK([$GREP 'Welcome to GNU Libtool subdir-objects test' stdout], [], [ignore]) -AT_CHECK([grep 'This is libsub' stdout], +AT_CHECK([$GREP 'This is libsub' stdout], [], [ignore]) AT_CLEANUP |