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 # we are going to trash $p because it will contain corrupted objects
101 # which makes our end-of-test fsck fail
102 cp -al ../$p ../$p.save
105 next-mangle badtagger
106 git cat-file tag test-dummy/1.0-1 | perl -pe '
107 s/\+\d+$/xyz/ if m/^tagger /;
110 echo >>../tagobj-$ident
111 cat ../basetag >>../tagobj-$ident
112 git update-ref $tagname $(git hash-object -w -t tag ../tagobj-$ident)