From 59523748eadbf5e1482e605a04ff9b0934631eaf Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Dec 26 2013 18:43:50 +0000 Subject: fixed if (missing ()) and reverted centos_ci_run to original state --- 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