summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2013-11-17 19:18:58 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2013-11-24 17:45:28 +0000
commit53d8d1df6eec4a6169e7f9425266bc43bdcbf154 (patch)
tree01825b66fc41b3618171d33fb5ea6ee4ee6bb5ef /tests
parent08c5073f750f45f976c534f55804ed61adee4743 (diff)
autopkgtests: fetch-somegit-notlast: new test
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tests/fetch-somegit-notlast15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/tests/fetch-somegit-notlast b/tests/tests/fetch-somegit-notlast
new file mode 100755
index 0000000..3943512
--- /dev/null
+++ b/tests/tests/fetch-somegit-notlast
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+set -e
+. tests/lib
+
+t-git pari-extra 3-1
+t-archive pari-extra 3-2~dummy1
+
+t-dgit clone $p
+cd $p
+
+t-cloned-fetched-good
+t-has-ancestor debian/3-1
+
+echo ok