diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-02-22 14:47:36 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-02-25 12:41:11 +0900 |
commit | 810d43a8e86aacce6c50e196e117ddb7c3f71aa8 (patch) | |
tree | 0a144c7029aeecf635b66629a2b1313a00d02cfc | |
parent | eac31d708f83aa716c09f1ba9e31be9beafe979e (diff) | |
download | systemd-810d43a8e86aacce6c50e196e117ddb7c3f71aa8.tar.gz systemd-810d43a8e86aacce6c50e196e117ddb7c3f71aa8.tar.bz2 systemd-810d43a8e86aacce6c50e196e117ddb7c3f71aa8.zip |
tools: update check-directives.sh to support fuzz-link-parser
-rwxr-xr-x | tools/check-directives.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/check-directives.sh b/tools/check-directives.sh index e2fd38898f..1c20947b4b 100755 --- a/tools/check-directives.sh +++ b/tools/check-directives.sh @@ -19,3 +19,8 @@ if [[ $(generate_directives src/network/netdev/netdev-gperf.gperf | wc -l) -ne $ echo "Looks like test/fuzz/fuzz-netdev-parser/directives.netdev hasn't been updated" exit 1 fi + +if [[ $(generate_directives src/udev/net/link-config-gperf.gperf | wc -l) -ne $(wc -l <test/fuzz/fuzz-link-parser/directives.link) ]]; then + echo "Looks like test/fuzz/fuzz-link-parser/directives.link hasn't been updated" + exit 1 +fi |