diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2022-11-11 23:21:59 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2022-11-11 23:21:59 +0000 |
commit | 5f3ef76dded40c31a279376031f41474424015e7 (patch) | |
tree | 8b3752e80b2ace40eae7fd9ff29d0e809fb90065 /tests | |
parent | f950b20d51c4c0cd4b342e20f0d9f163adc5a377 (diff) |
tests: quilt-splitbrains: Test that we gen cache if needed
Have tested that this fails before the previous fix.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/tests/quilt-splitbrains | 5 |
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 =====" |