fix(hlcc): normalize installed template permissions
This commit is contained in:
parent
0575da8a0d
commit
a7fd517d58
2 changed files with 6 additions and 0 deletions
|
|
@ -73,6 +73,8 @@ assert.match(ini, /SHOW_FOOTER_VERSION = false/);
|
|||
assert.match(ini, /\[cron\.update_checker\][\s\S]*ENABLED = false/);
|
||||
assert.match(bootstrap, /stdout=None/);
|
||||
assert.doesNotMatch(bootstrap, /hlcc\.log|log_path\.open/);
|
||||
assert.match(bootstrap, /custom template symlink forbidden/);
|
||||
assert.match(bootstrap, /installed\.chmod\(0o700 if installed\.is_dir\(\) else 0o600\)/);
|
||||
assert.match(unit, /^User=guanghu$/m);
|
||||
assert.match(unit, /^ProtectSystem=strict$/m);
|
||||
assert.match(unit, /^ReadOnlyPaths=__RELEASE_ROOT__$/m);
|
||||
|
|
|
|||
Loading…
Reference in a new issue