]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tools: update check-directives.sh to support fuzz-link-parser
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 22 Feb 2019 05:47:36 +0000 (14:47 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 25 Feb 2019 03:41:11 +0000 (12:41 +0900)
tools/check-directives.sh

index e2fd38898f359af0871b913bef7ac0de20c46819..1c20947b4b7eb9c2b791d3c5d7d9a0f4648c95c2 100755 (executable)
@@ -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