File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -266,6 +266,7 @@ basic: $(TESTDIR)/basic.sh
266266 grep -q " local _key$$ " $<
267267 $< -h | grep -q ' P percent: %'
268268 $< -h | grep -q ' O percent: %'
269+ $< -h | grep -q ' Usage: $(notdir $<) '
269270 ! $< -h | grep -qe ' \[--\]'
270271 test -z " $( SHELLCHECK) " || $(SHELLCHECK ) " $( TESTDIR) /basic.sh"
271272basic-dash : $(TESTDIR ) /basic-dash.sh
@@ -275,6 +276,7 @@ basic-dash: $(TESTDIR)/basic-dash.sh
275276 $< LOO -b | grep -q BOOL=off,
276277 $< -h | grep -q ' P percent: %'
277278 $< -h | grep -q ' O percent: %'
279+ $< -h | grep -q ' Usage: $(notdir $<) '
278280 $< -h | grep -qe ' \[--\]'
279281 test -z " $( SHELLCHECK) " || $(SHELLCHECK ) " $( TESTDIR) /basic-dash.sh"
280282test-void : $(TESTDIR ) /test-void.sh
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ ADD_TEST_BASH([basic], [[
99 grep -q "local _key$$" $<
1010 $< -h | grep -q 'P percent: %'
1111 $< -h | grep -q 'O percent: %'
12+ $< -h | grep -q 'Usage: $(notdir $<) '
1213 ! $< -h | grep -qe '\[ --\] '
1314] ] )
1415
@@ -20,6 +21,7 @@ ADD_TEST_DASH([basic], [[
2021 $< LOO -b | grep -q BOOL=off,
2122 $< -h | grep -q 'P percent: %'
2223 $< -h | grep -q 'O percent: %'
24+ $< -h | grep -q 'Usage: $(notdir $<) '
2325 $< -h | grep -qe '\[ --\] '
2426] ] )
2527
You can’t perform that action at this time.
0 commit comments