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