example, to run only the template tests within the `max_cmd_len`, use:
gmake check TESTSUITEFLAGS="-v -x -k max_cmd_len \
- INNER_TESTSUITEFLAGS=',template -v -x'"
+ INNER_TESTSUITEFLAGS=',template -v -x'"
If you wish to report test failures to the libtool list, you need to
send the file `tests/testsuite.log` to the [bug mailing list][].
# Make sure the paragraph we are matching has not been edited since
# this script was written.
- matched=`sed -n -e '/^This is GNU Libtool,/,/^interface\.$/p' $file \
+ matched=`sed -n -e '/^\[GNU Libtool\]\[libtool\] is/,/^consistent, portable interface\.$/p' $file \
|wc -l |sed 's|^ *||'`
# Unless, of course, it was edited by this script already.
test 3 = "$matched" \
- || matched=`sed -n -e '/^This is an alpha testing release/,/behind a consistent, portable interface\.$/p' $file \
+ || matched=`sed -n -e '/^This is an alpha testing release/,/a consistent, portable interface\.$/p' $file \
|wc -l |sed 's|^ *||'`
test 3 = "$matched" \
trap 'x=$?; rm $file.T; exit $x' 1 2 13 15
# Edit the first paragraph to be suitable for an alpha release.
- sed -e '/^This is GNU Libtool,/,/^interface.$/c\
-This is an alpha testing release of GNU Libtool, a generic library\
-support script. Libtool hides the complexity of using shared libraries\
-behind a consistent, portable interface.' $file > $file.T
+ sed -n '/^\[GNU Libtool\]\[libtool\] is/,/^consistent, portable interface\.$/c\
+This is an alpha testing release of [GNU Libtool][libtool], a generic\
+library support script. [Libtool][] hides the complexity of using shared\
+libraries behind a consistent, portable interface.' $file > $file.T
# Diagnose redirection failure.
test -f "$file.T" || func_fatal_error "Unable to write $file.T"