$ pdpmake npc_tests
! build/bin/npc -h
build/bin/npc: invalid option -- 'h'
Usage: build/bin/npc [-et]
build/bin/npc -e </dev/null
build/bin/npc -t </dev/null
build/bin/npc -et </dev/null
! build/bin/npc -et 5 </dev/null
Usage: build/bin/npc [-et]# ASCII 0x00 to 0x0a (before the newline, due to xargs(1p) issues)
awk 'BEGIN{ for (i = 0; i < 32; ++i) printf("%c", i); }'\
| build/bin/npc \
| head -n 1\
| xargs -I out test"^@^A^B^C^D^E^F^G^H"= out
pdpmake: (tests/bonsai/npc.mk:39): failed to build 'npc_ascii_controls'exit123
I do not understand this test, please help me out with this.
@trinity: The `npc(1)` tests fail thusly:
```sh
$ pdpmake npc_tests
! build/bin/npc -h
build/bin/npc: invalid option -- 'h'
Usage: build/bin/npc [-et]
build/bin/npc -e </dev/null
build/bin/npc -t </dev/null
build/bin/npc -et </dev/null
! build/bin/npc -et 5 </dev/null
Usage: build/bin/npc [-et]
# ASCII 0x00 to 0x0a (before the newline, due to xargs(1p) issues)
awk 'BEGIN{ for (i = 0; i < 32; ++i) printf("%c", i); }' \
| build/bin/npc \
| head -n 1 \
| xargs -I out test "^@^A^B^C^D^E^F^G^H" = out
pdpmake: (tests/bonsai/npc.mk:39): failed to build 'npc_ascii_controls' exit 123
```
I do not understand this test, please help me out with this.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
@trinity: The
npc(1)tests fail thusly:I do not understand this test, please help me out with this.
(This is on Artix Linux running the latest GNU coreutils)
@@ -20,3 +20,3 @@case "$$(uname)" in \Linux) \$(BIN)/dj -Hi /dev/zero -o /dev/full 2>&1 \! $(BIN)/dj -Hi /dev/zero -o /dev/full 2>&1 \Could you please explain this change?
Writing into
/dev/fullexits unsuccessfully because writing data to/dev/fullalways fails and setserrnotoENOSPC.@trinity verbally confirmed that it understood this change.
Indeed.
I haven't fully tested this on Linux but am confident it will work.
Merged.
Pull request closed