. tests/lib
. $troot/lib-reprepro
+t-dependencies reprepro
t-setup-import examplegit
t-tstunt-parsechangelog
t-dgit clone example avon example.avon
+perl -i -pe 's/ test-dummy / unknown-distro / if m/^Dgit:/' $dscf
+cd $p.import
+
+t-expect-fail 'hinted url with protocol file which is unsafe' \
+t-dgit import-dsc $dscf xunk
+
+t-git-config dgit.dsc-url-proto-ok.file true
+t-dgit import-dsc $dscf xunk
+
+cd ..
+
+
dscf=$tmp/mirror/pool/main/example_2.1.dsc
t-reprepro-includedsc avon $dscf ds-
t-reprepro-regen ds-