diff options
author | rillig <rillig@pkgsrc.org> | 2020-05-03 08:49:16 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-05-03 08:49:16 +0000 |
commit | f06ea455176c71504fdc0b89cf16522b806c6718 (patch) | |
tree | c6218ccb2c3dcfbdfc74c20d1607cc8472e8e5c2 /regress | |
parent | 68c727828e7698b8a7127f49bc99de4d0618ed36 (diff) | |
download | pkgsrc-f06ea455176c71504fdc0b89cf16522b806c6718.tar.gz |
mk/help: only list help topics that have associated keywords
Diffstat (limited to 'regress')
-rw-r--r-- | regress/infra-unittests/help.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/regress/infra-unittests/help.sh b/regress/infra-unittests/help.sh index c117aeaa28d..1fd21a867ac 100644 --- a/regress/infra-unittests/help.sh +++ b/regress/infra-unittests/help.sh @@ -1,5 +1,5 @@ #! /bin/sh -# $NetBSD: help.sh,v 1.2 2020/05/03 08:42:22 rillig Exp $ +# $NetBSD: help.sh,v 1.3 2020/05/03 08:49:16 rillig Exp $ # # Test cases for "bmake help", mainly implemented in mk/help/help.awk. # @@ -110,13 +110,8 @@ if test_case_begin "comments without keywords"; then TOPIC=':all' awk -f "$pkgsrcdir/mk/help/help.awk" \ 'Makefile' >"out" - # FIXME: should be empty assert_that 'out' --file-is-lines \ - '===> Makefile (keywords:):' \ - '# Comment1' \ - '# Comment2' \ - '# Comment3' \ - 'SUBDIR+= subdir2' + 'No help found for :all.' test_case_end fi |