From ca650a36a45acf22b6e25e58a23a7c4d71bb1d02 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 6 Jul 2019 12:33:35 +0100 Subject: [PATCH] test suite: Provide a stunt dgit Signed-off-by: Ian Jackson --- tests/tstunt/dgit | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 tests/tstunt/dgit 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 "$@" -- 2.30.2