summaryrefslogtreecommitdiff
blob: ff17f6b62411e00368f52284f0d4f9ed2546df73 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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)))