diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-10-29 00:47:41 +0400 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-10-29 00:47:43 +0400 |
commit | cce01f1629c24506cfaa115a4e2a9f157050b065 (patch) | |
tree | bceddf79ea2f4c099da473a94c07a8e38228cbf8 /sonar-plugin-api/src | |
parent | 5543e9f68e106c2819145440b7103c231ed06265 (diff) | |
download | sonarqube-cce01f1629c24506cfaa115a4e2a9f157050b065.tar.gz sonarqube-cce01f1629c24506cfaa115a4e2a9f157050b065.zip |
Don't use ping command to test CommandExecutor
This command causes strange problems on Windows 7.
Diffstat (limited to 'sonar-plugin-api/src')
-rwxr-xr-x | sonar-plugin-api/src/test/scripts/echo.sh | 2 | ||||
-rwxr-xr-x | sonar-plugin-api/src/test/scripts/forever.bat | 3 | ||||
-rwxr-xr-x | sonar-plugin-api/src/test/scripts/forever.sh | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/sonar-plugin-api/src/test/scripts/echo.sh b/sonar-plugin-api/src/test/scripts/echo.sh index 3e45899f469..5e2504df664 100755 --- a/sonar-plugin-api/src/test/scripts/echo.sh +++ b/sonar-plugin-api/src/test/scripts/echo.sh @@ -2,4 +2,4 @@ WORKING_DIR=`pwd` echo $WORKING_DIR > echo.log -echo "Parameter: " + $1
\ No newline at end of file +echo "Parameter: " + $1 diff --git a/sonar-plugin-api/src/test/scripts/forever.bat b/sonar-plugin-api/src/test/scripts/forever.bat index 1fb5b3df951..a7d921821f5 100755 --- a/sonar-plugin-api/src/test/scripts/forever.bat +++ b/sonar-plugin-api/src/test/scripts/forever.bat @@ -1,5 +1,6 @@ @ECHO OFF :LOOP - @ping 1.1.1.1 -n 2 -w 60000 > nul + @rem Next line may lead to freeze of build process on Windows 7 due to non-terminated ping-processes + @rem ping 1.1.1.1 -n 2 -w 60000 > nul GOTO LOOP diff --git a/sonar-plugin-api/src/test/scripts/forever.sh b/sonar-plugin-api/src/test/scripts/forever.sh index c7f008117e2..67289db934e 100755 --- a/sonar-plugin-api/src/test/scripts/forever.sh +++ b/sonar-plugin-api/src/test/scripts/forever.sh @@ -2,4 +2,4 @@ while test "notempty" do sleep 1 -done
\ No newline at end of file +done |