From bc5f555f9853dabf9bcd13ca425b4728b1037ea9 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 10 Feb 2018 11:27:05 +0000 Subject: [PATCH] test suite: infrastructure for testing git-debrebase Signed-off-by: Ian Jackson --- tests/lib-core | 1 + tests/lib-gdr | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 tests/lib-gdr diff --git a/tests/lib-core b/tests/lib-core index d65a1ffe..c3a04cba 100644 --- a/tests/lib-core +++ b/tests/lib-core @@ -12,6 +12,7 @@ t-set-intree () { : ${DGIT_REPOS_SERVER_TEST:=$DGIT_TEST_INTREE/infra/dgit-repos-server} : ${DGIT_SSH_DISPATCH_TEST:=$DGIT_TEST_INTREE/infra/dgit-ssh-dispatch} : ${DGIT_INFRA_PFX:=$DGIT_TEST_INTREE${DGIT_TEST_INTREE:+/infra/}} + : ${DGIT_GITDEBREBASE_TEST:=$DGIT_TEST_INTREE/git-debrebase} export DGIT_TEST DGIT_BADCOMMIT_FIXUP export DGIT_REPOS_SERVER_TEST DGIT_SSH_DISPATCH_TEST export PERLLIB="$DGIT_TEST_INTREE${PERLLIB:+:}${PERLLIB}" diff --git a/tests/lib-gdr b/tests/lib-gdr new file mode 100644 index 00000000..6ffdd4b0 --- /dev/null +++ b/tests/lib-gdr @@ -0,0 +1,11 @@ +# + +t-git-debrebase () { + local gdr=${DGIT_GITDEBREBASE_TEST-git-debrebase} + : ' +{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{' + $gdr $GDR_TEST_OPTS $GDR_TEST_DEBUG $t_gdr_xopts "$@" + : '}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} +' + +} -- 2.30.2