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

@ -64,6 +64,11 @@ SKIPLIST="test_api.sh test_c++.sh test_install.sh test_privileges.sh test_augmen
# 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

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

View file

@ -61,6 +61,11 @@ cat <<EOF > /usr/local/bin/test/site.sh
SKIPLIST="test_api.sh test_client.sh test_c++.sh test_install.sh test_privileges.sh"
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