dtb trinity
trinity commented on pull request bonsai/harakit#98 2024-04-27 11:25:11 -06:00
scrut(1): changed return status 0 to EXIT_SUCCESS

Merged.

trinity deleted branch scrut-sysexits from bonsai/harakit 2024-04-27 11:24:45 -06:00
trinity closed pull request bonsai/harakit#98 2024-04-27 11:24:45 -06:00
scrut(1): changed return status 0 to EXIT_SUCCESS
trinity commented on pull request bonsai/harakit#96 2024-04-27 07:25:37 -06:00
testing

It's testing for bloat. It drives home the fact that we will not compromise on making good, simple tools. If we did our tests would fail us.

trinity commented on pull request bonsai/harakit#96 2024-04-27 07:23:37 -06:00
testing

Our true(1) and false(1) implementations are POSIX without extensions and shouldn't be extended. Maybe it would be better to only have them in the POSIX compatibility section.

trinity deleted branch mm from bonsai/harakit 2024-04-26 20:34:41 -06:00
trinity commented on issue bonsai/harakit#94 2024-04-26 20:32:29 -06:00
Number parsing routine

Integer parsing has to be done in our C programs in a couple of places:

trinity commented on issue bonsai/harakit#55 2024-04-26 20:17:11 -06:00
mix(1) – randomly sort inputs

How is mix(1) for a name?

I like it.

trinity commented on pull request bonsai/harakit#96 2024-04-26 20:14:15 -06:00
testing

Goodness, I just saw the WIP: . It makes sense then that it seemed that this was unfinished. I really like where this is headed though.

trinity commented on pull request bonsai/harakit#96 2024-04-26 20:12:41 -06:00
testing

GNU false(1), a notoriously POSIX non-compliant implementation, would pass here, as (if I recall) it returns EXIT_FAILURE for improper usage. It shouldn't pass, though, because it prints a usage text to the standard output when usage help or version information are queried.

trinity commented on pull request bonsai/harakit#96 2024-04-26 20:12:41 -06:00
testing

Why is this separate from tests/posix-compat/true.sh?

trinity commented on pull request bonsai/harakit#96 2024-04-26 20:12:41 -06:00
testing

This seems ineligant. Programmatically print the test suite name at tests/$suite/Name, falling back to the folder name itself.

trinity commented on pull request bonsai/harakit#96 2024-04-26 20:12:41 -06:00
testing

This should go before the previous for loop as it will crash faster on incorrect invocation.

trinity suggested changes for bonsai/harakit#96 2024-04-26 20:12:41 -06:00
testing

I have some questions and concerns.

trinity commented on pull request bonsai/harakit#97 2024-04-26 19:49:26 -06:00
Makefile: fixed manpage install location

Could we use [ as test? The left-bracket use is a code smell for me as it tends to be more error prone. This particular usage seems fine.

trinity approved bonsai/harakit#97 2024-04-26 19:49:26 -06:00
Makefile: fixed manpage install location

Other than my boomer gripe it looks good.

trinity commented on pull request bonsai/harakit#98 2024-04-26 19:45:47 -06:00
scrut(1): changed return status 0 to EXIT_SUCCESS

I added some small additional fixes to this branch.

  • You changed return 0 to return EXIT_SUCCESS, which was good, but return 1 was still present, so I changed it to return EXIT_FAILURE.…
trinity pushed to scrut-sysexits at bonsai/harakit 2024-04-26 19:38:29 -06:00
6132c9bf47 Merge branch 'main' into scrut-sysexits
61382c34d9 mm(1): error out when given positional arguments
Compare 2 commits »
trinity pushed to scrut-sysexits at bonsai/harakit 2024-04-26 19:35:59 -06:00
919b171400 scrut(1): conditionally include non-POSIX sysexits.h
8e38db92c7 scrut(1): update copyright header
adc9dbded5 scrut(1): changed return status 1 to EXIT_FAILURE
Compare 3 commits »