mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
tests: Add documentation, make interactive debugging possible.
* tests/openpgp/README: Add documentation about debugging and interfacing with GnuPG. * tests/openpgp/run-tests.scm (test::run-sync): Hand stdin to the child so that we can use a repl in the tests. Signed-off-by: Justus Winter <justus@g10code.com>
This commit is contained in:
parent
c644962fcf
commit
7e0379a754
2 changed files with 45 additions and 1 deletions
|
@ -85,7 +85,7 @@
|
|||
(define (run-sync . args)
|
||||
(with-working-directory directory
|
||||
(let* ((p (inbound-pipe))
|
||||
(pid (spawn-process-fd (append command args) CLOSED_FD
|
||||
(pid (spawn-process-fd (append command args) 0
|
||||
(:write-end p) (:write-end p))))
|
||||
(close (:write-end p))
|
||||
(splice (:read-end p) STDERR_FILENO)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue