(eshell-command "*echo hi &")
(with-current-buffer "*Eshell Async Command Output*"
(goto-char (point-min))
- (should (looking-at "\\[echo\\(<[0-9]+>\\)?\\]"))))))
+ (should (looking-at "\\[echo\\(\\.exe\\)?\\(<[0-9]+>\\)?\\]"))))))
(ert-deftest eshell-test/eshell-command/background-pipeline ()
"Test that `eshell-command' works for background commands.
(eshell-command "*echo hi | *cat &")
(with-current-buffer "*Eshell Async Command Output*"
(goto-char (point-min))
- (should (looking-at "\\[cat\\(<[0-9]+>\\)?\\]"))))))
+ (should (looking-at "\\[cat\\(\\.exe\\)\\(<[0-9]+>\\)?\\]"))))))
(ert-deftest eshell-test/command-running-p ()
"Modeline should show no command running"