chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Infra: Support not running out of working tree
[dgit.git]
/
tests
/
lib
diff --git
a/tests/lib
b/tests/lib
index 70ad0b186d31ecc244717b355bd99ee02e160329..22ae0ff5052a9f349319fc22ffec6ea09b8f1eff 100644
(file)
--- a/
tests/lib
+++ b/
tests/lib
@@
-481,16
+481,10
@@
t-drs () {
drs_dispatch=$tmp/distro=test-dummy
mkdir $drs_dispatch
drs_dispatch=$tmp/distro=test-dummy
mkdir $drs_dispatch
- if [ "x$DGIT_TEST_INTREE" = x ]; then
- cat >&2 <<END
-dgit-repos-server is designed to run out of a git working tree
-cannot be tested in installed package (as DEP-8-intends)
-test skipped
-END
- exit 0
+ if [ "x$DGIT_TEST_INTREE" != x ]; then
+ ln -sf "$DGIT_TEST_INTREE" $drs_dispatch/dgit-live
fi
fi
- ln -sf $root $drs_dispatch/dgit-live
ln -sf $tmp/git $drs_dispatch/repos
ln -sf $tmp/suites $tmp/dm.txt $drs_dispatch/
mkdir -p $drs_dispatch/keyrings
ln -sf $tmp/git $drs_dispatch/repos
ln -sf $tmp/suites $tmp/dm.txt $drs_dispatch/
mkdir -p $drs_dispatch/keyrings