* tests/am-subdir.at, tests/early-libtool.at: Fix the LF vs.

CRLF related failures on MinGW by grepping for good output
instead of using AT_CHECK's `expout'.
This commit is contained in:
Ralf Wildenhues 2006-09-03 15:08:12 +00:00
parent 44383fc00f
commit 8aabc32cac
3 changed files with 18 additions and 18 deletions

View File

@ -1,3 +1,9 @@
2006-09-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* tests/am-subdir.at, tests/early-libtool.at: Fix the LF vs.
CRLF related failures on MinGW by grepping for good output
instead of using AT_CHECK's `expout'.
2006-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Drop K&R support from testsuite in favor of C89.

View File

@ -69,14 +69,13 @@ AT_DATA([[subdir/sub.c]],
void sub (void) { printf ("** This is libsub **\n"); }
]])
AT_DATA(expout,
[[Welcome to GNU Libtool subdir-objects test!
** This is libsub **
]])
LT_AT_BOOTSTRAP([--copy], [-I m4], [ignore], [--add-missing])
LT_AT_EXEC_CHECK([subdir/subdemo], 0, expout)
LT_AT_EXEC_CHECK([subdir/subdemo], 0, stdout)
AT_CHECK([grep 'Welcome to GNU Libtool subdir-objects test' stdout],
[], [ignore])
AT_CHECK([grep 'This is libsub' stdout],
[], [ignore])
AT_CLEANUP

View File

@ -94,11 +94,6 @@ main (int argc, char *argv[])
}
]])
AT_DATA(expout,
[[Welcome to GNU Hell!
** This is not GNU Hello. There is no built-in mail reader. **
]])
cat > missing <<_EOF
#! /bin/sh
exit 0
@ -111,7 +106,10 @@ LT_AT_AUTOCONF([--force])
LT_AT_CONFIGURE
LT_AT_MAKE
LT_AT_EXEC_CHECK([./hell], [0], [expout])
LT_AT_EXEC_CHECK([./hell], [0], [stdout])
AT_CHECK([grep 'Welcome to GNU Hell' stdout], [], [ignore])
AT_CHECK([grep 'This is not GNU Hello.' stdout],
[], [ignore])
AT_CLEANUP
@ -201,11 +199,6 @@ main (int argc, char *argv[])
}
]])
AT_DATA(expout,
[[Welcome to GNU Hell!
** This is not GNU Hello. There is no built-in mail reader. **
]])
cat > missing <<_EOF
#! /bin/sh
exit 0
@ -218,6 +211,8 @@ LT_AT_AUTOCONF([--force])
LT_AT_CONFIGURE
LT_AT_MAKE
LT_AT_EXEC_CHECK([./hell], [0], [expout])
LT_AT_EXEC_CHECK([./hell], [0], [stdout])
AT_CHECK([grep 'Welcome to GNU Hell' stdout], [], [ignore])
AT_CHECK([grep 'This is not GNU Hello.' stdout], [], [ignore])
AT_CLEANUP