chiark / gitweb /
test suite: Introduce example 1.1 orig containg some interesting objects
[dgit.git] / tests / tests / unrepresentable
index 9dd2111baac87ff3db7f25c4649866f3e901d63c..621829e1f0c64a5c39bc2b850be3374c695b426f 100755 (executable)
@@ -4,13 +4,13 @@ set -e
 
 t-tstunt-parsechangelog
 
-t-prep-newpackage example 1.0
+t-prep-newpackage example 1.1
 
 ln -s $troot/pkg-srcs/${p}_${v%-*}.orig.tar.* .
 
 cd $p
 
-start () { git checkout quilt-tip~0; }
+start () { git checkout quilt-tip-1.1~0; }
 attempt () { t-dgit -wgf --quilt=smash quilt-fixup; }
 
 badly-1 () {
@@ -21,7 +21,7 @@ badly-1 () {
 
 badly-2 () {
        git commit -m "Commit wrongness $wrongfn ($wrongmsg)"
-       t-expect-fail "cannot represent change: $wrongmsg: $wrongfn" \
+       t-expect-fail E:"cannot represent change: $wrongmsg .*: $wrongfn" \
        attempt
 }
 
@@ -49,4 +49,4 @@ badly-2
 start
 attempt
 
-echo ok.
+t-ok