chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
autopkgtests: Provide tests/lib, and one pari-extra based clone test.
[dgit.git]
/
tests
/
tests
/
clone-nogit
diff --git a/tests/tests/clone-nogit
b/tests/tests/clone-nogit
new file mode 100755
(executable)
index 0000000..
746dc69
--- /dev/null
+++ b/
tests/tests/clone-nogit
@@ -0,0
+1,15
@@
+#!/bin/bash
+set -e
+. tests/lib
+
+t-git none
+t-archive pari-extra 3-1
+
+t-dgit clone $p
+
+t-diff-nogit extract/$p-3 $p
+cd $p
+t-clean-on-branch dgit/sid
+t-refs-same HEAD remotes/dgit/dgit/sid
+
+echo ok