diff options
author | rillig <rillig@pkgsrc.org> | 2020-08-04 21:46:44 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-08-04 21:46:44 +0000 |
commit | ef6e04bfaa7c4c09a6171406e6ed01a5fda3336d (patch) | |
tree | bd80a5ad1c8f1a98365f6df186f5571011e0cef5 /regress | |
parent | 401464832eb95f6f2da96dd948a250942920c514 (diff) | |
download | pkgsrc-ef6e04bfaa7c4c09a6171406e6ed01a5fda3336d.tar.gz |
mk/help: fix help parser for variable names followed by comma
Seen in mk/fetch/fetch.mk for FETCH_USE_IPV4_ONLY.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/infra-unittests/help.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/regress/infra-unittests/help.sh b/regress/infra-unittests/help.sh index 09b8d1658b6..1394d07e28f 100644 --- a/regress/infra-unittests/help.sh +++ b/regress/infra-unittests/help.sh @@ -1,5 +1,5 @@ #! /bin/sh -# $NetBSD: help.sh,v 1.6 2020/08/04 21:35:01 rillig Exp $ +# $NetBSD: help.sh,v 1.7 2020/08/04 21:46:44 rillig Exp $ # # Test cases for "bmake help", mainly implemented in mk/help/help.awk. # @@ -157,9 +157,10 @@ if test_case_begin 'variable name followed by comma'; then 'fetch.mk' >'out' assert_that 'out' --file-is-lines \ - 'No help found for fetch_use_ipv4_only, but it appears in:' \ - '' \ - 'fetch.mk' + '===> fetch.mk (keywords: FETCH_USE_IPV4_ONLY):' \ + '# FETCH_USE_IPV4_ONLY, if defined, will ...' \ + '# ...' \ + '# ...' test_case_end fi |