Skip to content

Commit 6df43d7

Browse files
committed
Fix runner for memory safety tests broken on macOS/Linux
1 parent 28902e0 commit 6df43d7

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

test-module/tests/main.el

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -227,23 +227,19 @@
227227
(pcase system-type
228228
((or 'darwin 'gnu/linux)
229229
(call-process
230-
"bin/fn.sh"
231-
nil
230+
"bash"
232231
;; If VERBOSE, redirect subprocess's stdout to stderr
233-
(list (if (getenv "VERBOSE")
234-
'(:file "/dev/stderr")
235-
t)
236-
error-file)
237-
nil
238-
name))
232+
nil (list (if (getenv "VERBOSE")
233+
'(:file "/dev/stderr")
234+
t)
235+
error-file)
236+
nil "./bin/fn.sh" name))
239237
('windows-nt
240238
(call-process
241239
"powershell"
242-
nil
243240
;; If VERBOSE, redirect subprocess's stdout to stderr
244-
(list t error-file)
245-
nil
246-
".\\bin\\fn.ps1" name))))
241+
nil (list t error-file)
242+
nil ".\\bin\\fn.ps1" name))))
247243
(error-string
248244
(with-temp-buffer
249245
(insert-file-contents error-file)

0 commit comments

Comments
 (0)