chiark / gitweb /
Test suite: Break out t-pushed-good-core (nfc)
[dgit.git] / tests / lib
index c403dc72b0e29acf5f60f6584a283789c71de8cb..d71728305b919975b05162f75c14a4693cb99b3e 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -542,9 +542,14 @@ t-check-pushed-master () {
 t-pushed-good () {
        local branch=$1
        local suite=${2:-sid}
+       t-refs-same \
+               refs/heads/$branch
+       t-pushed-good-core
+}
+       
+t-pushed-good-core () {
        t-ref-dsc-dgit
        t-refs-same \
-               refs/heads/$branch \
                `t-v-tag` \
                refs/remotes/dgit/dgit/$suite
        t-refs-notexist \