5 t-tstunt-parsechangelog
7 t-prep-newpackage example 1.0
13 local policy=$1; shift
14 t-dgit -cdgit-distro.test-dummy.source-only-uploads=$policy "$@"
17 t-expect-fail E:'source-only.*entirely NEW' \
18 dgit-with-policy not-wholly-new push-source --new
20 t-expect-fail E:'source-only.*requires \.debs' \
21 dgit-with-policy never push-source --new
23 dgit-with-policy always push-source --new
25 t-archive-process-incoming sid
27 t-commit 'Now with binaries'
31 t-expect-fail E:'uploading binaries.*source only' \
32 dgit-with-policy always push --new
34 t-commit 'Source-only not NEW'
36 dgit-with-policy not-wholly-new push-source --new