summaryrefslogtreecommitdiffstats
path: root/distro/tests/test-yanglint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'distro/tests/test-yanglint.sh')
-rwxr-xr-xdistro/tests/test-yanglint.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/distro/tests/test-yanglint.sh b/distro/tests/test-yanglint.sh
new file mode 100755
index 0000000..70bf4b9
--- /dev/null
+++ b/distro/tests/test-yanglint.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+set -ex
+
+version=`yanglint --version`
+echo "$version" | grep '2\.[0-9.]\+'