fixing version dependencies in tests

This commit is contained in:
Olof hagsand 2021-02-27 11:36:20 +01:00
parent 2d141b7dff
commit 08e212efef
8 changed files with 20 additions and 22 deletions

View file

@ -100,9 +100,8 @@ new "Openconfig test: $clixon_cli -1f $cfg -y $f show version ($m modules)"
for f in $files; do
if [ -n "$(head -1 $f|grep '^module')" ]; then
new "$clixon_cli -D $DBG -1f $cfg -y $f show version"
expectpart "$($clixon_cli -D $DBG -1f $cfg -y $f show version)" 0 "$version."
expectpart "$($clixon_cli -D $DBG -1f $cfg -y $f show version)" 0 "${CLIXON_VERSION}"
fi
done
rm -rf $dir