commit 78399fc0398fa84bda2ffc8df65b6465db1d7500 from: Stefan Sperling date: Sun Jan 26 20:21:45 2025 UTC expand test coverage of possible protect statement syntax in gotd.conf commit - 33a01ee2f7faa9d04a2e4eb645f5b6fce6f92311 commit + 78399fc0398fa84bda2ffc8df65b6465db1d7500 blob - d35360eb49009d5aff82d9f397ca3d3af3b4918f blob + 2f293ead8f13a73c1c831555139c844ca22fa51c --- regress/gotd/Makefile +++ regress/gotd/Makefile @@ -171,9 +171,9 @@ start_gotd_rw_protected: ensure_root @echo 'repository "test-repo" {' >> $(PWD)/gotd.conf @echo ' path "$(GOTD_TEST_REPO)"' >> $(PWD)/gotd.conf @echo ' permit rw $(GOTD_DEVUSER)' >> $(PWD)/gotd.conf - @echo ' protect branch "foo"' >> $(PWD)/gotd.conf + @echo ' protect branch foo' >> $(PWD)/gotd.conf @echo ' protect tag namespace "refs/tags/"' >> $(PWD)/gotd.conf - @echo ' protect branch "refs/heads/main"' >> $(PWD)/gotd.conf + @echo ' protect { branch refs/heads/main }' >> $(PWD)/gotd.conf @echo "}" >> $(PWD)/gotd.conf @$(GOTD_TRAP); $(GOTD_START_CMD) @$(GOTD_TRAP); sleep .5