This commit is contained in:
Olof hagsand 2018-07-20 23:16:26 +02:00
parent b894c30bfb
commit deb89600ed
23 changed files with 50 additions and 31 deletions

View file

@ -1,5 +1,6 @@
#!/bin/bash
# Test: XML parser tests
#PROG="valgrind --leak-check=full --show-leak-kinds=all ../util/clixon_util_yang"
PROG=../util/clixon_util_yang
# include err() and new() functions and creates $dir
@ -12,13 +13,13 @@ module test{
description "Example from RFC 6020";
argument "name";
}
ex:not-defined ARGUMENT;
ex:not-defined ARGUMENT;;
}
EOF
)
new "yang parse"
expecteof $PROG 0 "$YANG" "^$YANG$"
expecteof "$PROG" 0 "$YANG" "^$YANG$"
rm -rf $dir