--- a/tests/automated/process-tests.el	2021-01-16 15:42:20.195864978 +0100
+++ b/tests/automated/process-tests.el	2021-01-16 15:43:27.840426754 +0100
@@ -49,7 +49,7 @@
     (goto-char (point-min))
     (Assert (looking-at "foo"))):
 
-  (Assert (= 127 (shell-command "unknown_command")))
+  (Assert (= 127 (shell-command "unknown_command > /dev/null 2>&1")))
   (Assert (= 2 (shell-command "exit 2")))
   (Assert (equal "(Shell command failed with code 2 and no output)" (message-displayed-p t)))
   
