diff --git a/expected_out.json b/expected_out.json new file mode 100644 index 0000000..b5ef4e0 --- /dev/null +++ b/expected_out.json @@ -0,0 +1,37 @@ +[ + { + "name of check": "RepoSize", + "stdout": "Checking repository size: OK", + "exit code": 0, + "stderr": "", + "errorLog": null + }, + { + "name of check": "forbiddenFile", + "stdout": "Checking forbidden files: OK", + "exit code": 0, + "stderr": "", + "errorLog": null + }, + { + "name of check": "metaFile", + "stdout": "Checking the existence of meta file: OK", + "exit code": 0, + "stderr": "", + "errorLog": null + }, + { + "name of check": "NonAsciiFiles", + "stdout": "Checking for non-ascii files: OK", + "exit code": 0, + "stderr": "", + "errorLog": null + }, + { + "name of check": "NonAsciiMsg", + "stdout": "Checking for non-ASCII characters in commit message: OK", + "exit code": 0, + "stderr": "", + "errorLog": null + } +] \ No newline at end of file diff --git a/stdin.sh b/stdin.sh new file mode 100644 index 0000000..27f696a --- /dev/null +++ b/stdin.sh @@ -0,0 +1,3 @@ +#!bash + +./build/healthcheck -root=./examples/repohealth/success -meta=readme.* -whitelist=.*\.md -whitelist=.git.*