diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2022-09-03 21:49:00 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2022-09-04 11:53:44 +0100 |
commit | e11e759cb1877f52bf696d5f1e0b30f53a50ca4a (patch) | |
tree | b1ddb0b3026ebc52ff597154b6c35041d4aa5345 /tests/tests/overwrite-version | |
parent | 42d05da9ea816296623bba686e533fb651825fc8 (diff) |
dgit push: Update tests
Change the global test git config to reject plain "git push".
Update almost all tests to use "push-built".
In some cases, change to using "push-source".
In one case (chosen essentially arbitrarily), use the config override
and continue using push to mean push-built.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tests/overwrite-version')
-rwxr-xr-x | tests/tests/overwrite-version | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tests/overwrite-version b/tests/tests/overwrite-version index 34301ac..9925098 100755 --- a/tests/tests/overwrite-version +++ b/tests/tests/overwrite-version @@ -13,8 +13,8 @@ t-commit 'No changes, just send to stable' '' stable t-dgit -wgf build t-expect-fail 'HEAD is not a descendant' \ -t-dgit push stable +t-dgit push-built stable -t-dgit push --overwrite=1.2 stable +t-dgit push-built --overwrite=1.2 stable t-ok |