libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Don't always skip XSI tests


From: Charles Wilson
Subject: [PATCH] Don't always skip XSI tests
Date: Mon, 26 Jul 2010 00:03:07 -0400

tests/getopt-m4sh.at: Use new signature as implemented by
de8a0992b21b76a13c302cf48588ad5f6042595c, when determining
whether to test Extended-shell functions.
---
 tests/getopt-m4sh.at |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

In the referenced commit, the signature of functions replaced
by _LT_PROG_FUNCTION_REPLACE was changed from '# XSI $function'
to '# Extended-shell $function'.  Ensure that getopt-m4sh.at
tests for the correct signature, instead of always skipping the
affected tests.

Tested on cygwin. Before, tests 2,4,6 were skipped. After, they
are no longer skipped (and they pass) since cygwin shell does
support the XSI features.

OK to commit?

--
Chuck

diff --git a/tests/getopt-m4sh.at b/tests/getopt-m4sh.at
index b5f23fd..ca5d5b8 100644
--- a/tests/getopt-m4sh.at
+++ b/tests/getopt-m4sh.at
@@ -100,7 +100,7 @@ AT_CLEANUP
 AT_SETUP([enhanced shell short option splitting])
 
 # Don't bother with additional XSI checks unless functions were substituted
-AT_CHECK([fgrep '# XSI func_split_short_opt' $abs_top_builddir/libtool 
>/dev/null 2>&1 || (exit 77)])
+AT_CHECK([fgrep '# Extended-shell func_split_short_opt' 
$abs_top_builddir/libtool >/dev/null 2>&1 || (exit 77)])
 
 AT_DATA(expout,
 [[force verbose install
@@ -134,7 +134,7 @@ AT_CLEANUP
 AT_SETUP([XSI long option splitting])
 
 # Don't bother with additional XSI checks unless functions were substituted
-AT_CHECK([fgrep '# XSI func_split_long_opt' $abs_top_builddir/libtool 
>/dev/null 2>&1 || (exit 77)])
+AT_CHECK([fgrep '# Extended-shell func_split_long_opt' 
$abs_top_builddir/libtool >/dev/null 2>&1 || (exit 77)])
 
 AT_DATA(expout,
 [[ltdl=long
@@ -171,7 +171,7 @@ AT_CLEANUP
 AT_SETUP([enhanced shell option appending])
 
 # Don't bother with additional += check unless functions were substituted
-AT_CHECK([fgrep '# XSI func_append ' $abs_top_builddir/libtool >/dev/null 2>&1 
|| (exit 77)])
+AT_CHECK([fgrep '# Extended-shell func_append ' $abs_top_builddir/libtool 
>/dev/null 2>&1 || (exit 77)])
 
 AT_DATA(expout,
 [[first   --append second
-- 
1.7.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]