From aea50aa8e77b3fa70678e623ed619ef2195f981e Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Aug 09 2012 07:05:12 +0000 Subject: changed p_git-tests: changed '-eq' to '==' changed p_arpwatch/arpwatch-tst: possible fix for C6 --- diff --git a/tests/p_arpwatch/arpwatch_test.sh b/tests/p_arpwatch/arpwatch_test.sh index 646872e..a41386a 100755 --- a/tests/p_arpwatch/arpwatch_test.sh +++ b/tests/p_arpwatch/arpwatch_test.sh @@ -18,7 +18,7 @@ else fi # beginning and running test -arpwatch +arpwatch & sleep 4 arp -d $defgw sleep 2 diff --git a/tests/p_git/0-install_git.sh b/tests/p_git/0-install_git.sh index 8d198ac..682830d 100755 --- a/tests/p_git/0-install_git.sh +++ b/tests/p_git/0-install_git.sh @@ -5,7 +5,7 @@ t_Log "Running $0 - installing git" # Install git -if [ $centos_ver -eq '6' ] +if [ $centos_ver == '6' ] then t_InstallPackage git else diff --git a/tests/p_git/10-test_git.sh b/tests/p_git/10-test_git.sh index 9f26fd7..719ea91 100755 --- a/tests/p_git/10-test_git.sh +++ b/tests/p_git/10-test_git.sh @@ -6,7 +6,7 @@ t_Log "Running $0 - checking git installation" -if [ $centos_ver -eq '6' ] +if [ $centos_ver == '6' ] then git --version ret_val=$? diff --git a/tests/p_git/11-test_git_clone.sh b/tests/p_git/11-test_git_clone.sh index a08a883..c748ecb 100755 --- a/tests/p_git/11-test_git_clone.sh +++ b/tests/p_git/11-test_git_clone.sh @@ -5,7 +5,7 @@ t_Log "Running $0 - testing a local git clone operation" -if [ $centos_ver -eq '6' ] +if [ $centos_ver == '6' ] then # Testing Git clone by comparing SHAs workpath=$(pwd) diff --git a/tests/p_git/12-test_git_log.sh b/tests/p_git/12-test_git_log.sh index da8dd78..0c37264 100755 --- a/tests/p_git/12-test_git_log.sh +++ b/tests/p_git/12-test_git_log.sh @@ -5,7 +5,7 @@ t_Log "Running $0 - testing git logging and commit messages" -if [ $centos_ver -eq '6' ] +if [ $centos_ver == '6' ] then # Testing git log and git commit msgs workpath=$(pwd)