summaryrefslogtreecommitdiff
path: root/tests/tests/fetch-localgitonly
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2013-11-17 18:27:07 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2013-11-24 17:45:28 +0000
commit696041cc0947c182a8fcf03c8cd4c37f37cddf1c (patch)
tree9c5f236bf10394715d68f46edd2a787c5d473cc2 /tests/tests/fetch-localgitonly
parent39dafe5aef79bef3817c0d3fabc001b244a9dcc5 (diff)
autopkgtests: fetch-localgitonly: rename from fetch-nogit
Diffstat (limited to 'tests/tests/fetch-localgitonly')
-rwxr-xr-xtests/tests/fetch-localgitonly16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/tests/fetch-localgitonly b/tests/tests/fetch-localgitonly
new file mode 100755
index 0000000..7937a6f
--- /dev/null
+++ b/tests/tests/fetch-localgitonly
@@ -0,0 +1,16 @@
+#!/bin/bash
+set -e
+. tests/lib
+
+t-archive pari-extra 3-2~dummy1
+t-git-none
+t-worktree 3-1
+cd $p
+old=`git rev-parse HEAD`
+
+t-dgit pull
+
+t-cloned-fetched-good
+t-has-ancestor $old
+
+echo ok