chiark / gitweb /
aa162bb09d33e9febcda1a5b0d8d0f0630d74d1a
[dgit.git] / tests / tests / dsd-clone-drs
1 #!/bin/bash
2 set -e
3 . tests/lib
4
5 if [ "x$DGIT_TEST_INTREE" = x ]; then
6         echo >&2 'running installed package version, cannot test self-clone'
7         exit 0
8 fi
9
10 if ! test -d $root/.git; then
11         echo >&2 'not running out of git clone, cannot test self-clone'
12         exit 0
13 fi
14
15 t-dsd
16
17 cd $tmp
18 t-dgit clone-dgit-repos-server drs-cloned
19
20 cd drs-cloned
21 ls -al infra/dgit-repos-server
22
23 echo ok.