From a2e52c6ee4297aef309db132aa1630943d366099 Mon Sep 17 00:00:00 2001 From: kleinbem Date: Sun, 15 Nov 2026 12:11:00 +0000 Subject: [PATCH] Find sleep on PATH in the shutdown test The fake source-highlight called /usr/bin/sleep, which NixOS and the Nix build sandbox lack, so the script exited at once and the test failed. Co-Authored-By: Claude Opus 5.5 --- tests/test_shutdown.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_shutdown.py b/tests/test_shutdown.py index c69a299..db8087a 100644 --- a/tests/test_shutdown.py +++ b/tests/test_shutdown.py @@ -19,7 +19,7 @@ def test_quit_drains_active_renderers_before_qt_teardown(self): highlighter = tools / 'source-highlight' highlighter.write_text('#!/bin/sh\n' 'echo "start $$" >> "$HYPE_TEST_RENDER_LOG"\n' - '/usr/bin/sleep 2\n' + 'sleep 2\n' 'echo "done $$" >> "$HYPE_TEST_RENDER_LOG"\n') highlighter.chmod(0o755) deck = root / 'presentation.md'