Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove test string dependence on C library #45

Merged
merged 2 commits into from
Sep 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2024-09-15 Roy Hills <[email protected]>

* check-error: Change invalid option test string from
"ike-scan: unrecognized option", to "^Usage: ike-scan".
This fixes a test failure on cygwin because it's newlib based C
library outputs "ike-scan: unknown option" instead of
"ike-scan: unrecognized option" that is used by glibc and BSD libc.
https://github.com/royhills/ike-scan/pull/45

2022-10-02 Roy Hills <[email protected]>

* acinclude.m4: Replaced obsolete autoconf macros AC_TRY_COMPILE with
Expand Down
2 changes: 1 addition & 1 deletion check-error
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ if test $? -eq 0; then
echo "FAILED"
exit 1
fi
grep 'ike-scan: unrecognized option ' $TMPFILE >/dev/null
grep '^Usage: ike-scan ' $TMPFILE >/dev/null
if test $? -ne 0; then
rm -f $TMPFILE
echo "FAILED"
Expand Down
Loading