tests: Print pwd in failure trap This will help debugging. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test suite: Provide navigation banner when exiting nonzero Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test suite: t-archive: Honour t_archive_ln_s This will let us arrange to use cp instead. No functional change for existing callers. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test suite: Break out t-non-dgit-upload No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test suite: Honour new DGIT_TEST_KEEP_MUSTCLEAN FTR, using this typically results in runes like DGIT_TEST_KEEP_MUSTCLEAN=y tests/using-intree tests/tests/ftpmasterapi-http 2>&1 | tee tests/tmp/log hanging instead of exiting, because the http server is still running and its stderr is still going to tee. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test suite: lib: Provide $tmp/must-clean directory to tests This is a directory for things which should be removed on exit. Currently there are none. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test suite: t-debpolicy: mkdir -p the git repo This makes t-debpolicy compatible with (eg) setup imports that already made a $tmp/git. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test suite: splitbrain: "bad b/p" prints more info Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test suite: t-gbp-example-prep: Drop t-tstunt-parsechangelog And hoist it into all callers. In fact there is only one caller that doesn't have it already. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test suite: tagupl-*: Move t-pushed-good out of t-tagupl-test We are going to want to do this separately in some cases. No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test suite: unset CDPATH This can cause tests to pass which should fail (!) Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test suite: t-tagupl-test: Check that salsa master was pushed Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test suite: t-tagupl-test: Use "salsa" as the source This checks that push pushed the tag(s) there. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test suite: t-tagupl-run-drs: New source parameter Change all callers. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test suite: tagupl*: Drop use of --no-push Now we do actually push. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test suite: t-tagupl-setting: Provide a "salsa" remote This will give git-debpush somewhere to push to. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test suite: tagupl-*: Break out t-tagupl-run-drs Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
git-debpush: Numerous improvements Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
test suite: Break out t-tagupl-* Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
test suite: Break out t-chain-test-somehow This will be used for when we want to source tests/lib from some program run by a test. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>