chiark / gitweb /
Test suite: import-dsc: Work in formal (adt) mode
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 31 Oct 2016 00:13:41 +0000 (00:13 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 31 Oct 2016 00:16:02 +0000 (00:16 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/tests/import-dsc

index 9d3d9b7..98092a2 100755 (executable)
@@ -69,7 +69,7 @@ cd $p.2
 
 git init
 
-check-import ../../../pkg-srcs 1.0-1
+check-import $troot/pkg-srcs 1.0-1
 
 t-expect-fail "Your git tree does not have that object" \
 check-import ../mirror/pool/main 1.2
@@ -77,7 +77,7 @@ check-import ../mirror/pool/main 1.2
 check-import ../mirror/pool/main 1.2 --force-import-dsc-with-dgit-field
 
 v=1.0-1.100
-dsc2=../../../pkg-srcs/${p}_${v}.dsc
+dsc2=$troot/pkg-srcs/${p}_${v}.dsc
 
 t-expect-fail E:'Branch.*already exists' \
 t-dgit import-dsc $dsc2 $branch