aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'local/tests/update-06-copyright.sh')
-rwxr-xr-xlocal/tests/update-06-copyright.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/local/tests/update-06-copyright.sh b/local/tests/update-06-copyright.sh
index 83b56c1..aeca01e 100755
--- a/local/tests/update-06-copyright.sh
+++ b/local/tests/update-06-copyright.sh
@@ -361,6 +361,12 @@ git checkout -q -b test-branch
git commit --allow-empty -m "Commit without sign-off" -q
test_branch_failure test-branch "${FAIL_NO_SIGNOFF}"
+tbegin "Forked branch with new non-signed commit - explicitly configured to allow"
+git config --add gentoo.gco-branches master
+git checkout -q -b test-branch
+git commit --allow-empty -m "Commit without sign-off" -q
+test_branch_success test-branch
+
tbegin "Copy of master branch"
git checkout -q -b test-branch
test_branch_success test-branch
@@ -377,6 +383,12 @@ git checkout --orphan test-branch -q
git commit --allow-empty -m "Commit without sign-off" -q
test_branch_failure test-branch "${FAIL_NO_SIGNOFF}"
+tbegin "New independent branch without sign-off - explicitly configured to allow"
+git config --add gentoo.gco-branches master
+git checkout --orphan test-branch -q
+git commit --allow-empty -m "Commit without sign-off" -q
+test_branch_success test-branch
+
tbegin "Branch removal"
test_branch_removal