Bob King | 863cb05 | 2020-10-29 15:28:20 +0800 | [diff] [blame] | 1 | #!/bin/bash |
2 | rc=0 | ||||
3 | for file in phosphor-regulators/config_files/*.json | ||||
4 | do | ||||
5 | phosphor-regulators/tools/validate-regulators-config.py \ | ||||
Patrick Williams | 944ff61 | 2022-12-08 06:23:33 -0600 | [diff] [blame^] | 6 | -s phosphor-regulators/schema/config_schema.json \ |
7 | -c "$file" || rc=1 | ||||
Bob King | 863cb05 | 2020-10-29 15:28:20 +0800 | [diff] [blame] | 8 | done |
9 | exit $rc |