chiark / gitweb /
Infra: Provide dgit clone-dgit-repos-server
[dgit.git] / tests / tests / dsd-clone-drs
diff --git a/tests/tests/dsd-clone-drs b/tests/tests/dsd-clone-drs
new file mode 100755 (executable)
index 0000000..3474160
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/bash
+set -e
+. tests/lib
+if ! test -d $root/.git; then
+       echo >&2 'not running out of git clone, cannot test self-clone'
+       exit 0
+fi
+
+t-dsd
+
+cd $tmp
+t-dgit clone-dgit-repos-server drs-cloned
+
+cd drs-cloned
+ls -al infra/dgit-repos-server
+
+echo ok.