chiark / gitweb /
tests: import-dsc: Test corrupted ENV (#950446)
[dgit.git] / tests / tests / import-dsc
index bdd849ca1060e75d8fcff9aac988d5ea94b7a4a0..768bd8c3bc8fae0b3aa883d41a1f02b12bdeddb4 100755 (executable)
@@ -64,6 +64,10 @@ t-dgit import-dsc $dsc2 ..$branch
 t-dgit import-dsc $dsc2 +$branch
 check-imported $dsc2
 
+dsc3=$troot/pkg-srcs/example_1.0-1+brokenmeta.dsc
+t-dgit import-dsc $dsc3 +$branch
+check-imported $dsc3
+
 cd ..
 mkdir $p.2
 cd $p.2
@@ -79,7 +83,7 @@ dsc=$troot/pkg-srcs/${p}_${v}.dsc
 cd $p.2
 
 cp $dsc ..
-t-expect-fail 'it does not exist' \
+t-expect-fail 'No such file or directory' \
 check-import .. $v
 
 mkdir ../enoents