Skip to content

Commit bd12eef

Browse files
committed
distro UPDATE apkg tests
1 parent 89afc6e commit bd12eef

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

distro/tests/control

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Tests: test-pkg-config.sh test-yanglint.sh

distro/tests/test-pkg-config.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
set -ex
3+
4+
version=`pkg-config --modversion libyang`
5+
echo "$version" | grep '2\.[0-9.]\+'

distro/tests/test-yanglint.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
set -ex
3+
4+
version=`yanglint --version`
5+
echo "$version" | grep '2\.[0-9.]\+'

0 commit comments

Comments
 (0)