5 t-dependencies DEBORIG git-debpush
18 git checkout -b native
20 git checkout --orphan upstream quilt-tip-2
22 git commit -m 'pseudo-upstream'
25 git checkout -B master quilt-tip-2
27 upstream=$(git rev-parse upstream/1.0~0)
30 t-tagupl-test --no-push --quilt=gbp
34 # todo: test each miss/rejection
38 git cat-file tag $tagname >../basetag
57 mv-ident tagupl/overall.log
64 perl <../basetag >../badtag-$ident -pe "$perl"
65 git tag -u Senatus -f -s -m "$(cat ../badtag-$ident)" "$tagname"
75 grep ": $mstring" ../tagupl/overall.log
83 grep 'Was not successful' ../sendmail.log
84 grep "$mstring" ../sendmail.log
85 grep ": failed, emailed" ../tagupl/overall.log
88 tagname=test-dummy/1.2
89 t-expect-fail E:'failed command: git fetch' \
92 tagname=splorf/$v ; expect-quit baddistro '' 'tag name not for us'
93 tagname=test-dummy/1,2; expect-quit badver '' 'tag name not for us'
96 expect-quit noplease s/please-upload/plunk/ 'tag missing please-upload'
98 expect-email vermatch 's/^example release /$&3/' 'reject: version mismatch'
100 expect-email unkinfo 's/^\[dgit please-upload/$& Rejectme/' \
101 'unknown dgit info in tag'
103 expect-quit unkdistro 's/test-dummy/ubuntu/ if m/^\[dgit/' \
104 'not for this distro'
106 # we are going to trash $p because it will contain corrupted objects
107 # which makes our end-of-test fsck fail
108 cp -al ../$p ../$p.save
111 next-mangle badtagger
112 git cat-file tag test-dummy/1.0-1 | perl -pe '
113 s/\+\d+$/xyz/ if m/^tagger /;
116 echo >>../tagobj-$ident
117 cat ../basetag >>../tagobj-$ident
118 git update-ref $tagname $(git hash-object -w -t tag ../tagobj-$ident)