From: Ian Jackson Date: Sat, 10 Feb 2018 11:27:05 +0000 (+0000) Subject: test suite: infrastructure for testing git-debrebase X-Git-Tag: archive/debian/5.0~266 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=bc5f555f9853dabf9bcd13ca425b4728b1037ea9;hp=510beba994c0cbc52d02d98f0fd9eafc54639fa1 test suite: infrastructure for testing git-debrebase Signed-off-by: Ian Jackson --- 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 "$@" + : '}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} +' + +}