From 0e7aa587520399fcba122b4d91453bf4ec19e20d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 15 Jun 2019 11:22:25 +0100 Subject: test suite; New test forcesplit-overwrite Still needs: * checking that we didn't move HEAD * checking HEAD tree is equal Signed-off-by: Ian Jackson --- tests/tests/forcesplit-overwrite | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 tests/tests/forcesplit-overwrite (limited to 'tests/tests/forcesplit-overwrite') diff --git a/tests/tests/forcesplit-overwrite b/tests/tests/forcesplit-overwrite new file mode 100755 index 0000000..0afb5ce --- /dev/null +++ b/tests/tests/forcesplit-overwrite @@ -0,0 +1,15 @@ +#!/bin/bash +set -e +. tests/lib + +t-setup-import examplegit + +cd example + +suite=stable + +t-commit 'No changes, just send to stable' '' stable + +t-dgit -wgf --split-view --overwrite=1.2 push-source stable + +t-ok -- cgit v1.2.3