diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-20 23:44:35 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-20 23:44:35 -0500 |
| commit | 179fbd55795c27ed388860e3c6b3d8c0651422ac (patch) | |
| tree | 6c6d8d83257660cb83abe26bebdc71a5affb5797 /scripts/testing/tests/test_services.py | |
| parent | 26eb578ab94610670196e632090b841f23611ce6 (diff) | |
| download | archsetup-179fbd55795c27ed388860e3c6b3d8c0651422ac.tar.gz archsetup-179fbd55795c27ed388860e3c6b3d8c0651422ac.zip | |
test: fix the weak assertions from the S6/S7 audit
The Hyprland socket check passed a shell glob to `test -S`, which breaks at both edges: zero matches leaves the literal pattern and several instances pass multiple args, failing for reasons unrelated to the socket. It now resolves one socket with find -type s.
The gen_tokens degenerate-marker test asserted properties loose enough to pass on garbled output. It now pins the exact reconstruction as a characterization, with the impossible-input caveat stated, so any change to the branch surfaces.
The gallery tick count leaned on split-string omit-nulls arithmetic that happened to equal the match count. It now counts occurrences directly. gallery-widget-write-svg, the last uncovered public entry point, gets a Normal-case test.
Diffstat (limited to 'scripts/testing/tests/test_services.py')
0 files changed, 0 insertions, 0 deletions
