Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
asdf
asdf
Commits
4ef46a98
Commit
4ef46a98
authored
Jun 03, 2013
by
Robert P. Goldman
Browse files
Check exit status in a RUN-SHELL-COMMAND test with verbose set.
parent
56cec7c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/test-run-program.script
View file @
4ef46a98
...
...
@@ -25,7 +25,9 @@
(with-output-to-string (s)
(let ((*verbose-out* t)
(*standard-output* s))
(run-shell-command "echo ok ~D" 1)))
(let ((status (run-shell-command "echo ok ~D" 1)))
(unless (zerop status)
(error "Didn't get good exit status.")))))
ok1))
;; NB1: run-shell-command is deprecated. Use run-program instead.
;; NB2: we do NOT support stderr capture to *verbose-out* anymore in run-shell-command.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment