From: Ian Jackson Date: Sat, 6 Jul 2019 11:33:35 +0000 (+0100) Subject: test suite: Provide a stunt dgit X-Git-Tag: archive/debian/9.1~70 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=ca650a36a45acf22b6e25e58a23a7c4d71bb1d02 test suite: Provide a stunt dgit Signed-off-by: Ian Jackson --- diff --git a/tests/tstunt/dgit b/tests/tstunt/dgit new file mode 100755 index 00000000..3a9751d7 --- /dev/null +++ b/tests/tstunt/dgit @@ -0,0 +1,9 @@ +#!/bin/bash +# NB This requires use of t-chain-test-somehow. +set -ex +oldpwd=$(pwd) +cd "$DGIT_TEST_TROOT/.." +. tests/lib +cd "$oldpwd" +trap '' EXIT # preserves our exit status +t-dgit "$@"