5 t-tstunt-parsechangelog
8 t-prep-newpackage example 1.0
16 git commit -m some-file
17 taint=`git rev-parse HEAD`
18 t-policy-admin taint --global $taint dummy
19 git reset --hard HEAD~
21 t-commit 'Make something to autotaint'
25 autotaint=`t-git-get-ref "refs/tags/$tagpfx/$v"`
27 git reset --hard start
28 t-commit 'Thing which will autotaint'
34 sqlite3 -interactive $tmp/git/policy.sqlite3 0<$fifo 3>&- &
37 taintsout=$tmp/sqlite3.taints-out
39 echo >&3 ".output $taintsout"
40 echo >&3 'select * from taints;';
41 echo >&3 'create table dummy (x text);'
45 while ! grep $taint $taintsout; do sleep 0.1; done
47 DGIT_RPD_TEST_DBLOOP_HOOK='
48 print STDERR "DBLOOP HOOK $sleepy\n";
49 $poldbh->sqlite_busy_timeout(2500);
53 echo >'"$fifo"' "rollback;"
54 touch '"$tmp/sqlite3.rolled-back"'
58 t-dgit push --deliberately-not-fast-forward
63 ls $tmp/sqlite3.rolled-back
65 t-policy-admin list-taints | tee $tmp/taints-list | grep $autotaint