diff --git a/centos_ci_build b/centos_ci_build index 8d82e41..3d81147 100755 --- a/centos_ci_build +++ b/centos_ci_build @@ -3,4 +3,4 @@ yum -y update uname -a -SKIP_QA_HARNESS=1 ./runtests.sh p_vconfig +SKIP_QA_HARNESS=1 ./runtests.sh diff --git a/tests/p_vconfig/0_install_vconfig.sh b/tests/p_vconfig/0_install_vconfig.sh index 659fe5c..f028004 100755 --- a/tests/p_vconfig/0_install_vconfig.sh +++ b/tests/p_vconfig/0_install_vconfig.sh @@ -1,7 +1,7 @@ #!/bin/bash # Author: Christoph Galuschka -if [ $centos_ver = 5 ] || [ $centos_ver = 6 ] +if ([ $centos_ver = 5 ] || [ $centos_ver = 6 ]) then # Install vconfig t_InstallPackage vconfig diff --git a/tests/p_vconfig/10_test_vconfig.sh b/tests/p_vconfig/10_test_vconfig.sh index eed326f..f1e8c64 100755 --- a/tests/p_vconfig/10_test_vconfig.sh +++ b/tests/p_vconfig/10_test_vconfig.sh @@ -5,7 +5,7 @@ t_Log "Running $0 - create VLAN IF, assign IP on VLAN IF and tear down VLAN IF test" ret_val=0 -if [ $centos_ver = 5 ] || [ $centos_ver = 6 ] +if ([ $centos_ver = 5 ] || [ $centos_ver = 6 ]) then # create VLAN-IF 10 on eth0 vconfig add eth0 10