summaryrefslogtreecommitdiffstats
path: root/distro/tests/test-pkg-config.sh
blob: 581e4d61f837ff636a82a2b4501a039d760d96c8 (plain)
1
2
3
4
5
#!/bin/bash
set -ex

version=`pkg-config --modversion libyang`
echo "$version" | grep '2\.[0-9.]\+'