Skip to content

Commit

Permalink
distro UPDATE apkg tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed May 4, 2022
1 parent 89afc6e commit bd12eef
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions distro/tests/control
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Tests: test-pkg-config.sh test-yanglint.sh
5 changes: 5 additions & 0 deletions distro/tests/test-pkg-config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -ex

version=`pkg-config --modversion libyang`
echo "$version" | grep '2\.[0-9.]\+'
5 changes: 5 additions & 0 deletions distro/tests/test-yanglint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -ex

version=`yanglint --version`
echo "$version" | grep '2\.[0-9.]\+'

0 comments on commit bd12eef

Please sign in to comment.