blob: 28f662e2b6648ea739f5c6a58bb77e75f4ebdca8 [file] [log] [blame]
Bob King863cb052020-10-29 15:28:20 +08001#!/bin/bash
2rc=0
3for file in phosphor-regulators/config_files/*.json
4do
5 phosphor-regulators/tools/validate-regulators-config.py \
Patrick Williams944ff612022-12-08 06:23:33 -06006 -s phosphor-regulators/schema/config_schema.json \
7 -c "$file" || rc=1
Bob King863cb052020-10-29 15:28:20 +08008done
9exit $rc