aboutsummaryrefslogtreecommitdiff
path: root/tests/hypr-live-update-guard
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-08-19 14:28:17 -0700
committerCraig Jennings <c@cjennings.net>2026-08-19 14:28:17 -0700
commit5b3b64ad66679bde7d90d5937794f4125d5a2fd2 (patch)
treeef402e71192eed503add254bbd797caba472331a /tests/hypr-live-update-guard
parent463f9b7de893424e1439bfd4bad2d880423cacc3 (diff)
downloadarchsetup-5b3b64ad66679bde7d90d5937794f4125d5a2fd2.tar.gz
archsetup-5b3b64ad66679bde7d90d5937794f4125d5a2fd2.zip
fix(test): pin stdin so the net-scenario harness stops hanging
The stubbed ssh is `cat >/dev/null`, which drains stdin to EOF. Without an explicit stdin the stub inherits whatever the test runner had, so it returned instantly when stdin was redirected and blocked forever when it was a terminal or a live pipe. All five tests then hit their 20-second timeout. That made the suite unreliable in the case that matters most, running it by hand. `make test-unit </dev/null` passed while the same target run from a terminal failed, which reads as a flaky test rather than an environment-dependent one.
Diffstat (limited to 'tests/hypr-live-update-guard')
0 files changed, 0 insertions, 0 deletions