chiark / gitweb /
test suite: infrastructure for testing git-debrebase
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 10 Feb 2018 11:27:05 +0000 (11:27 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 Jun 2018 11:25:49 +0000 (12:25 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/lib-core
tests/lib-gdr [new file with mode: 0644]

index d65a1ffeccadcde3e9b9268f35be39620e4221fe..c3a04cbaed1b215cfd62c33b7455976f7a2c4a73 100644 (file)
@@ -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 (file)
index 0000000..6ffdd4b
--- /dev/null
@@ -0,0 +1,11 @@
+#
+
+t-git-debrebase () {
+       local gdr=${DGIT_GITDEBREBASE_TEST-git-debrebase}
+       : '
+{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{'
+       $gdr    $GDR_TEST_OPTS $GDR_TEST_DEBUG $t_gdr_xopts "$@"
+       : '}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
+'
+       
+}