mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
gpgscm: Make logging less verbose and more useful.
* tests/gpgscm/tests.scm (call-with-io): When being verbose, include the pid in the output, and avoid duplicating the command arguments. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
a71f4142e1
commit
679920781a
@ -104,10 +104,11 @@
|
||||
(es-fclose (:stdout h))
|
||||
(es-fclose (:stderr h))
|
||||
(if (> (*verbose*) 2)
|
||||
(begin
|
||||
(echo (stringify what) "returned:" result)
|
||||
(echo (stringify what) "wrote to stdout:" out)
|
||||
(echo (stringify what) "wrote to stderr:" err)))
|
||||
(info "Child" (:pid h) "returned:"
|
||||
`((command ,(stringify what))
|
||||
(status ,result)
|
||||
(stdout ,out)
|
||||
(stderr ,err))))
|
||||
(list result out err))))
|
||||
|
||||
;; Accessor function for the results of 'call-with-io'. ':stdout' and
|
||||
|
Loading…
x
Reference in New Issue
Block a user