tests: bonsai/stris.mk: broaden stris(1) test coverage
This commit is contained in:
parent
7d5443dee6
commit
cbf5032a22
@ -7,14 +7,19 @@
|
||||
|
||||
.PRAGMA: command_comment
|
||||
|
||||
.PHONY: str_tests
|
||||
str_tests: str_help str_isalpha
|
||||
.PHONY: stris_tests
|
||||
stris_tests: stris_help stris_7 stris_b
|
||||
|
||||
.PHONY: str_help
|
||||
str_help: $(BIN)/str
|
||||
! $(BIN)/str -h
|
||||
.PHONY: stris_help
|
||||
stris_help: $(BIN)/stris
|
||||
! $(BIN)/stris -h
|
||||
|
||||
.PHONY: str_isalpha
|
||||
str_isalpha: $(BIN)/str
|
||||
$(BIN)/str isalpha c
|
||||
! $(BIN)/str isalpha 3
|
||||
.PHONY: stris_7
|
||||
stris_7: $(BIN)/stris
|
||||
$(BIN)/stris -7 !1Aa' '
|
||||
! $(BIN)/stris -7 今日は
|
||||
|
||||
.PHONY: stris_b
|
||||
stris_b: $(BIN)/stris
|
||||
$(BIN)/stris -b "$(printf ' \t\v\r\n')"
|
||||
! $(BIN)/stris -b !1Aa
|
Loading…
Reference in New Issue
Block a user