test: sleep typo, override YANG_INSTALLDIR in docker tests
This commit is contained in:
parent
2165a1368b
commit
61e8841642
6 changed files with 20 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue