]> arthur.barton.de Git - bup.git/commitdiff
buptest: base testing subproc funcs ex() and exo() on run()
authorRob Browning <rlb@defaultvalue.org>
Sat, 31 Mar 2018 18:24:48 +0000 (13:24 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 31 Mar 2018 22:32:27 +0000 (17:32 -0500)
Rework the subprocess functions, providing ex() and exo() as concise
test functions that print the commands they're executing.  Base them
on a common, lower-level run() function.

Drop exc() since ex() and exo() both check the exit status by default.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>

No differences found