tests: bonsai/npc.mk: removed test that is broken with GNU and BusyBox
This commit is contained in:
parent
07a2f1efc2
commit
008c0624f6
@ -26,7 +26,7 @@ npc_args:
|
||||
|
||||
.PHONY: npc_ascii
|
||||
# Test 0x00 to 0x7f in input; in other words, the full 7b ASCII range.
|
||||
npc_ascii: npc_ascii_controls npc_ascii_symbols npc_ascii_uppers # \
|
||||
npc_ascii: npc_ascii_controls npc_ascii_uppers # npc_ascii_symbols \
|
||||
# npc_ascii_lowers
|
||||
|
||||
.PHONY: npc_ascii_controls
|
||||
@ -63,14 +63,18 @@ npc_ascii_controls:
|
||||
| tail -n 1 \
|
||||
| xargs -I out test "^K^L^M^N^O^P^Q^R^S^T^U^V^W^X^Y^Z^[^\^]^^^_"
|
||||
|
||||
.PHONY: npc_ascii_symbols
|
||||
# ASCII 0x1f to 0x3f (^_ and symbols)
|
||||
npc_ascii_symbols:
|
||||
# shell quoting olympics
|
||||
awk 'BEGIN{ for (i = 31; i < 64; ++i) printf("%c", i); print }' \
|
||||
| $(BIN)/npc \
|
||||
| sed -e s"/\'/\\\'/g" -e 's/"/\\"/g' \
|
||||
| xargs -I out test "^_ !\"#$$%&'()*+,-./0123456789:;<=>?" = out
|
||||
# This test is broken on Linux and will need closer inspection along with GNU
|
||||
# xargs(1).
|
||||
# .PHONY: npc_ascii_symbols
|
||||
# # ASCII 0x1f to 0x3f (^_ and symbols)
|
||||
# npc_ascii_symbols:
|
||||
# # shell quoting olympics
|
||||
# c="$(awk 'BEGIN{ for (i = 31; i < 64; ++i) printf("%c", i); print }')"
|
||||
#
|
||||
# printf '%s\n' "$c" | $(BIN)/npc \
|
||||
# | sed -e s"/\'/\\\'/g" -e 's/"/\\"/g' \
|
||||
# | tr -d '\n' \
|
||||
# | xargs -I out test "^_ !\"#$$%&\'()*+,-./0123456789:;<=>?" = out
|
||||
|
||||
.PHONY: npc_ascii_uppers
|
||||
# ASCII 0x40 to 0x5f (uppercases)
|
||||
|
Loading…
Reference in New Issue
Block a user