]> arthur.barton.de Git - bup.git/commit
tgit.py: set BUP_MAIN_EXE and BUP_DIR in testpacks().
authorRob Browning <rlb@defaultvalue.org>
Sun, 14 Apr 2013 19:02:15 +0000 (14:02 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sun, 14 Apr 2013 19:07:26 +0000 (14:07 -0500)
commit14a9d2c3fe091c3699862b57197d4c6a03a1b2ff
tree9b4dd0d88404849828c551645a59d905bfa5a7db
parent5a949536f4282231779d1bb04de70aebcac02b89
tgit.py: set BUP_MAIN_EXE and BUP_DIR in testpacks().

Set these variables in testpacks(), just as we do for
test_pack_name_lookup(), since it also depends on path.exe().

This was causing 'make check' to fail on Cygwin, and could be
reproduced on Linux by explicitly invoking tgit.py via "./wvtest.py
lib/bup/t/tgit.py".

Reported-by: Will Rouesnel <w.rouesnel@gmail.com>
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/t/tgit.py