aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/mgrconfig/testdata/gce1.cfg
Commit message (Collapse)AuthorAgeFilesLines
* pkg/config: fix comments strippingMarco Elver2022-09-271-0/+3
| | | | | | | | | | The comment-stripping regex doesn't work for multi-line comments, because the regex looks for a substring that both starts _and_ ends with a newline character. Since a single newline cannot be used into multiple matches, only the first comment line is found and later lines are not removed resulting in a parsing error. Fix it by looking for substrings _until_ a newline.
* pkg/mgrconfig: make dashboard_key unnecessaryAleksandr Nogikh2021-07-151-2/+3
| | | | | | | | | | | | Update mgrconfig tests so that they properly test manager configuration. Add dummy files to the testdata directory so that it looks like a real syzkaller folder. Adjust gce1.cfg to test the situation when there dashboard_client is not accompanied by dashboard_key. Make dashboard_key unnecessary.
* pkg/config: support commentsDmitry Vyukov2021-04-281-0/+2
| | | | | Strip lines starting with # before json deserialization. This allows to have comments!
* pkg/mgrconfig: move from syz-manager/mgrconfigDmitry Vyukov2018-08-021-0/+16
mgrconfig was used only by syz-manager initially, but now it's used by a dozen of packages and it's weird to import from under a binary dir. pkg/ is much more reasonable dir for a widely used helper package.