You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by sg...@apache.org on 2008/04/10 10:54:50 UTC
svn commit: r646694 - in /commons/sandbox/exec/trunk/src/test/scripts:
error.sh forever.bat forever.sh test.bat test.sh
Author: sgoeschl
Date: Thu Apr 10 01:54:45 2008
New Revision: 646694
URL: http://svn.apache.org/viewvc?rev=646694&view=rev
Log:
Adding a few comments to the scripts to indicate what they are doing
Modified:
commons/sandbox/exec/trunk/src/test/scripts/error.sh
commons/sandbox/exec/trunk/src/test/scripts/forever.bat
commons/sandbox/exec/trunk/src/test/scripts/forever.sh
commons/sandbox/exec/trunk/src/test/scripts/test.bat
commons/sandbox/exec/trunk/src/test/scripts/test.sh
Modified: commons/sandbox/exec/trunk/src/test/scripts/error.sh
URL: http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/test/scripts/error.sh?rev=646694&r1=646693&r2=646694&view=diff
==============================================================================
--- commons/sandbox/exec/trunk/src/test/scripts/error.sh (original)
+++ commons/sandbox/exec/trunk/src/test/scripts/error.sh Thu Apr 10 01:54:45 2008
@@ -18,6 +18,7 @@
#
#
-echo FOO.$TEST_ENV_VAR.$1
+# do something and return en error result code
+echo FOO.$TEST_ENV_VAR.$1
exit 1
Modified: commons/sandbox/exec/trunk/src/test/scripts/forever.bat
URL: http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/test/scripts/forever.bat?rev=646694&r1=646693&r2=646694&view=diff
==============================================================================
--- commons/sandbox/exec/trunk/src/test/scripts/forever.bat (original)
+++ commons/sandbox/exec/trunk/src/test/scripts/forever.bat Thu Apr 10 01:54:45 2008
@@ -18,7 +18,7 @@
REM See the License for the specific language governing permissions and
REM limitations under the License.
-@ECHO OFF
+REM run an infinite loop so the script will never ever terminate on its behalf
:LOOP
ECHO . > .\target\forever.txt
Modified: commons/sandbox/exec/trunk/src/test/scripts/forever.sh
URL: http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/test/scripts/forever.sh?rev=646694&r1=646693&r2=646694&view=diff
==============================================================================
--- commons/sandbox/exec/trunk/src/test/scripts/forever.sh (original)
+++ commons/sandbox/exec/trunk/src/test/scripts/forever.sh Thu Apr 10 01:54:45 2008
@@ -17,6 +17,8 @@
# limitations under the License.
#
+# run an infinite loop so the script will never ever terminate on its behalf
+
while test "notempty"
do
sleep 1
Modified: commons/sandbox/exec/trunk/src/test/scripts/test.bat
URL: http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/test/scripts/test.bat?rev=646694&r1=646693&r2=646694&view=diff
==============================================================================
--- commons/sandbox/exec/trunk/src/test/scripts/test.bat (original)
+++ commons/sandbox/exec/trunk/src/test/scripts/test.bat Thu Apr 10 01:54:45 2008
@@ -18,4 +18,7 @@
REM
REM
+REM print the given environment variable and command line parameter
+REM since this is verified by the regression test
+
@ECHO FOO.%TEST_ENV_VAR%.%1
Modified: commons/sandbox/exec/trunk/src/test/scripts/test.sh
URL: http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/test/scripts/test.sh?rev=646694&r1=646693&r2=646694&view=diff
==============================================================================
--- commons/sandbox/exec/trunk/src/test/scripts/test.sh (original)
+++ commons/sandbox/exec/trunk/src/test/scripts/test.sh Thu Apr 10 01:54:45 2008
@@ -17,4 +17,7 @@
# limitations under the License.
#
+# print the given environment variable and command line parameter
+# since this is verified by the regression test
+
echo FOO.$TEST_ENV_VAR.$1