p=$1
v=$2
mkdir -p $tmp/git
- (set -e; cd $tmp/git; tar xf $troot/git-srcs/${p}_$v.git.tar)
+ local gs=$troot/git-srcs/${p}_$v.git
+ if test -f $gs.edit; then
+ cp -al $gs.edit $tmp/git/${p}.git
+ else
+ (set -e; cd $tmp/git; tar xf $gs.tar)
+ fi
}
t-git-none () {
t-drs () {
export DGIT_TEST_TROOT=$troot
export DGIT_TEST_TMP=$tmp
- t-git-config dgit-distro.test-dummy.git-url "ext::$troot/drs-git-ext "
- t-git-config dgit-distro.test-dummy.git-check true
- t-git-config dgit-distro.test-dummy.git-create true
+ t-git-config dgit-distro.test-dummy.git-url "ext::$troot/drs-git-ext %S "
+ t-git-config dgit-distro.test-dummy.git-check true
+ t-git-config dgit-distro.test-dummy.git-create true
}
t-drs-test () {
cd $root
export DGIT_TEST_TESTNAME="$testname"
export ADTTMP=$tmp
+ cp $root/tests/gnupg/{dd.gpg,dm.gpg,dm.txt} $tmp/.
+ cp $root/tests/suites $tmp/.
exec "${0///drs-//}" "$@"
}
-