test: sleep typo, override YANG_INSTALLDIR in docker tests

This commit is contained in:
Olof hagsand 2022-02-07 14:41:50 +01:00
parent 2165a1368b
commit 61e8841642
6 changed files with 20 additions and 3 deletions

View file

@ -93,6 +93,11 @@ RCPROTO=http # Because nginx
# Parse yangmodels from https://github.com/YangModels/yang
EOF
# Patch to override YANG_INSTALLDIRS
cat <<EOF >> /usr/local/bin/test/config.sh
YANG_INSTALLDIR=/usr/local/share/clixon
EOF
# Patch yang syntax errors
sed -i s/=\ olt\'/=\ \'olt\'/g /usr/local/share/yang/standard/ieee/published/802.3/ieee802-ethernet-pon.yang