summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tests/quilt-splitbrains5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/tests/quilt-splitbrains b/tests/tests/quilt-splitbrains
index 1940410..4c683c0 100755
--- a/tests/tests/quilt-splitbrains
+++ b/tests/tests/quilt-splitbrains
@@ -26,6 +26,8 @@ want-success () {
t-dgit "$@" --quilt=$qmode --dgit-view-save=split.b build-source
+ $want_success_pre_push_hook
+
t-dgit "$@" --quilt=$qmode --dgit-view-save=split.p push-built
t-$qmode-pushed-good $suite
}
@@ -77,7 +79,10 @@ t-dgit -wgf --quilt=gbp build-source
t-expect-fail 'This might be a patches-unapplied branch' \
t-dgit -wgf build-source
+# Check that push-built regenerates the cache if necessary
+want_success_pre_push_hook='git update-ref -d refs/dgit-intern/quilt-cache'
want-success unapplied -wgf
+want_success_pre_push_hook=''
echo "===== making fully-applied tree suitable for --quilt-check ====="