fix: bad testcase for whitelisted chars
This commit is contained in:
parent
bb9bc06fd5
commit
08aaaf1c3a
40
conf.json
40
conf.json
|
|
@ -9,12 +9,48 @@
|
||||||
"args": [
|
"args": [
|
||||||
"/tmp/repo-health-checker",
|
"/tmp/repo-health-checker",
|
||||||
"-root=.",
|
"-root=.",
|
||||||
"-allowedDomainList=example.com",
|
"-allowedDomainList=outlook.com",
|
||||||
"-whitelistedChars=\u6d4b"
|
"-whitelistedChars=\u6d4b"
|
||||||
]
|
],
|
||||||
|
"env": [
|
||||||
|
"PATH=/usr/bin:/bin"
|
||||||
|
],
|
||||||
|
"cpuLimit": 10000000000,
|
||||||
|
"memoryLimit": 104857600,
|
||||||
|
"procLimit": 50,
|
||||||
|
"copyInDir": ".",
|
||||||
|
"copyIn": {
|
||||||
|
"/tmp/repo-health-checker": {
|
||||||
|
"src": "./../../../../../../build/repo-health-checker"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"copyOut": [
|
||||||
|
"stdout",
|
||||||
|
"stderr"
|
||||||
|
],
|
||||||
|
"stdin": {
|
||||||
|
"content": ""
|
||||||
|
},
|
||||||
|
"stdout": {
|
||||||
|
"name": "stdout",
|
||||||
|
"max": 4096
|
||||||
|
},
|
||||||
|
"stderr": {
|
||||||
|
"name": "stderr",
|
||||||
|
"max": 4096
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"parsers": [
|
||||||
|
{
|
||||||
|
"name": "healthcheck",
|
||||||
|
"with": {
|
||||||
|
"score": 10,
|
||||||
|
"comment": " + comment from toml conf"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -1,10 +1 @@
|
||||||
{
|
[{"name":"healthcheck","results":[{"score":10,"comment":"### Repo Size Check Passed\n### Repo LFS Check Passed\n### Forbidden File Check Passed\n### Meta File Check Passed\n### Non-ASCII Characters File Check Passed\n### Non-ASCII Characters Commit Message Check Passed\n### Repo File Check Passed\n### Author Email Check Passed\n"}],"force_quit":false}]
|
||||||
"failed": false,
|
|
||||||
"msgContains": [
|
|
||||||
"### Non-ASCII Characters File Check Passed"
|
|
||||||
],
|
|
||||||
"msgNotContains": [
|
|
||||||
"### Non-ASCII Characters File Check Failed"
|
|
||||||
],
|
|
||||||
"stderrContains": []
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user