5 t-tstunt-parsechangelog
7 t-prep-newpackage example 1.0
14 t-dgit -cdgit-distro.test-dummy.source-only-uploads=$policy "$@"
18 t-dgit-with-policy not-wholly-new push
20 t-dgit -c dgit-distr push --new
26 git commit -m some-file
27 taint=`git rev-parse HEAD`
28 t-policy-admin taint --global $taint dummy
29 git reset --hard HEAD~
31 t-commit 'Make something to autotaint'
35 autotaint=`t-git-get-ref "refs/tags/$tagpfx/$v"`
37 git reset --hard start
38 t-commit 'Thing which will autotaint'
44 sqlite3 -interactive $tmp/git/policy.sqlite3 0<$fifo 3>&- &
47 taintsout=$tmp/sqlite3.taints-out
49 echo >&3 ".output $taintsout"
50 echo >&3 'select * from taints;';
51 echo >&3 'create table dummy (x text);'
55 while ! grep $taint $taintsout; do sleep 0.1; done
57 DGIT_RPD_TEST_DBLOOP_HOOK='
58 print STDERR "DBLOOP HOOK $sleepy\n";
59 $poldbh->sqlite_busy_timeout(2500);
63 echo >'"$fifo"' "rollback;"
64 touch '"$tmp/sqlite3.rolled-back"'
68 t-dgit push --deliberately-not-fast-forward
73 ls $tmp/sqlite3.rolled-back
75 t-policy-admin list-taints | tee $tmp/taints-list | grep $autotaint