diff options
| author | 2026-03-02 19:24:12 -0600 | |
|---|---|---|
| committer | 2026-03-02 19:24:12 -0600 | |
| commit | 7d388f267afc1f2141e2003f30dfeecb83b6d5d4 (patch) | |
| tree | a42ec26def747e49ba7fc875566d8088b4108d7b | |
| parent | Verbose testing for windows sanitizer build. (diff) | |
Update exceptions for os/execute with empty env test.connect-ex-work
| -rw-r--r-- | test/suite-os.janet | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/suite-os.janet b/test/suite-os.janet index 880de4ef..965dff1a 100644 --- a/test/suite-os.janet +++ b/test/suite-os.janet @@ -148,11 +148,10 @@ # os/execute with empty environment # pr #1686 -# native MinGW can't find system DLLs without PATH and so fails -(assert (= (if (and (= :mingw (os/which)) - (nil? (os/stat "C:\\windows\\system32\\wineboot.exe"))) - -1073741515 0) - (os/execute [;run janet "-e" "(+ 1 2 3)"] :pe {})) +# native MinGW can't find system DLLs without PATH, SystemRoot, etc. and so fails +# Also fails for address sanitizer builds on windows. +(def result (os/execute [;run janet "-e" "(+ 1 2 3)"] :pe {})) +(assert (or (= result -1073741515) (= result 0)) "os/execute with minimal env") # os/execute regressions |
