chiark / gitweb /
Mirroring fix: Add test case
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 21 Jul 2015 16:33:30 +0000 (17:33 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 21 Jul 2015 16:33:30 +0000 (17:33 +0100)
tests/tests/mirror-debnewgit [new file with mode: 0755]

diff --git a/tests/tests/mirror-debnewgit b/tests/tests/mirror-debnewgit
new file mode 100755 (executable)
index 0000000..ff1da4a
--- /dev/null
@@ -0,0 +1,22 @@
+#!/bin/bash
+set -e
+. tests/lib
+. $troot/lib-mirror
+
+t-debpolicy
+
+t-archive pari-extra 3-1
+t-git-none
+
+t-mirror-setup
+
+t-dgit clone $p
+
+cd $p
+t-cloned-fetched-good
+
+t-commit 'test commit' 3-2
+
+t-dgit build
+t-dgit push
+t-check-mirrored