]> arthur.barton.de Git - bup.git/commit
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)
commit3cb21094f179100881242ff22f6da9a05d04a7fb
tree8076240741d7ac8c758dd99bebb42634ddaadcab
parent7ce77b74ba29ee028a119e5eecb001d64af2deed
buptest: base testing subproc funcs ex() and exo() on run()

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>
buptest.py
t/test-ftp
t/test-prune-older