commit ea4c5435a6cbb363a3aef79a90b4ad84001097b45798b0873efbbb86eed97c89 from: Stefan Sperling date: Sun Jan 26 20:21:45 2025 UTC expand test coverage of possible protect statement syntax in gotd.conf commit - 20fb74346f152ba20bd5c2cb853a3eb6dd7fdb1500f43dd8cd177c6dc6f38c9f commit + ea4c5435a6cbb363a3aef79a90b4ad84001097b45798b0873efbbb86eed97c89 blob - c7b07c37c31848fe0a82b6aeae2037dba6d0bda70612e3833918d2f390ce1168 blob + a133bf9259ed4384d649c2faae13917af17a0fd59bf00f26083723b91b7df97a --- 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