From 62dc34d6026bcce1b5af93d3ecb5a32f147250d6 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Mon, 28 Sep 2026 16:40:38 -0500 Subject: [PATCH] Arm cross compilation CI fix attempt. Perhaps initial process launch succeeds? --- test/suite-ev.janet | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/suite-ev.janet b/test/suite-ev.janet index 3119432b..a49f15e9 100644 --- a/test/suite-ev.janet +++ b/test/suite-ev.janet @@ -644,7 +644,9 @@ # os/spawn and os/execute when program does not exist gives a normal error (def dne-path "this-long-binary-name-does-not-exist") (assert (nil? (os/stat dne-path :mode)) "binary path does not exist 1") -(assert (let [[ok _result] (protect (os/spawn [dne-path] :px))] (not ok)) "binary path does not exist 2 - os/spawn") +# On some systems, the intial process may launch but should immediately fail. Other systems will refuse to launch a process. +(assert (let [[ok _result] (protect (let [p (os/spawn [dne-path] :p)] (assert (zero? (:wait p)))))] (not ok)) + "binary path does not exist 2 - os/spawn") (assert (let [[ok _result] (protect (os/execute [dne-path] :px))] (not ok)) "binary path does not exist 2 - os/execute") (end-suite)