You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
501 B

--- 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)))