summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-02-22 14:47:36 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-02-25 12:41:11 +0900
commit810d43a8e86aacce6c50e196e117ddb7c3f71aa8 (patch)
tree0a144c7029aeecf635b66629a2b1313a00d02cfc /tools
parenteac31d708f83aa716c09f1ba9e31be9beafe979e (diff)
downloadsystemd-810d43a8e86aacce6c50e196e117ddb7c3f71aa8.tar.gz
tools: update check-directives.sh to support fuzz-link-parser
Diffstat (limited to 'tools')
-rwxr-xr-xtools/check-directives.sh5
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