You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2008/04/11 01:25:49 UTC

svn commit: r647007 - in /commons/sandbox/exec/trunk/src/test: bin/testme.dcl scripts/error.dcl scripts/forever.dcl scripts/test.dcl

Author: sebb
Date: Thu Apr 10 16:25:47 2008
New Revision: 647007

URL: http://svn.apache.org/viewvc?rev=647007&view=rev
Log:
Scripts need to be LF (not CR)
Fixup forever script to restore message settings

Modified:
    commons/sandbox/exec/trunk/src/test/bin/testme.dcl   (contents, props changed)
    commons/sandbox/exec/trunk/src/test/scripts/error.dcl   (contents, props changed)
    commons/sandbox/exec/trunk/src/test/scripts/forever.dcl   (contents, props changed)
    commons/sandbox/exec/trunk/src/test/scripts/test.dcl   (contents, props changed)

Modified: commons/sandbox/exec/trunk/src/test/bin/testme.dcl
URL: http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/test/bin/testme.dcl?rev=647007&r1=647006&r2=647007&view=diff
==============================================================================
--- commons/sandbox/exec/trunk/src/test/bin/testme.dcl (original)
+++ commons/sandbox/exec/trunk/src/test/bin/testme.dcl Thu Apr 10 16:25:47 2008
@@ -1 +1,25 @@
-$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$!
$! Licensed to the Apache Software Foundation (ASF) under one or more
$! contributor license agreements.  See the NOTICE file distributed with
$! this work for additional information regarding copyright ownership.
$! The ASF licenses this file to You under the Apache License, Version 2.0
$! (the "License"); you may not use this file except in compliance with
$! the License.  You may obtain a copy of the License at
$!
$!      http://www.apache.org/licenses/LICENSE-2.0
$!
$! Unless required by applicable law or agreed to in writing, software
$! distributed under the License is distributed on an "AS IS" BASIS,
$! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
$! See the License for the specific language governing permissions and
$! limitations under the License.
$!
$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$! 
$! Run the test suite
$!
$ create/direc
 tory [.target]
$ java "-Dorg.apache.commons.exec.lenient=false" "-Dorg.apache.commons.exec.debug=false" -
  -cp "./lib/junit-3.8.1.jar:./lib/exec-test-1.0-SNAPSHOT.jar:./lib/exec-1.0-SNAPSHOT.jar" -
  "org.apache.commons.exec.TestRunner"
\ No newline at end of file
+$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+$!
+$! Licensed to the Apache Software Foundation (ASF) under one or more
+$! contributor license agreements.  See the NOTICE file distributed with
+$! this work for additional information regarding copyright ownership.
+$! The ASF licenses this file to You under the Apache License, Version 2.0
+$! (the "License"); you may not use this file except in compliance with
+$! the License.  You may obtain a copy of the License at
+$!
+$!      http://www.apache.org/licenses/LICENSE-2.0
+$!
+$! Unless required by applicable law or agreed to in writing, software
+$! distributed under the License is distributed on an "AS IS" BASIS,
+$! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+$! See the License for the specific language governing permissions and
+$! limitations under the License.
+$!
+$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+$! 
+$! Run the test suite
+$!
+$ create/directory [.target]
+$ java "-Dorg.apache.commons.exec.lenient=false" "-Dorg.apache.commons.exec.debug=false" -
+  -cp "./lib/junit-3.8.1.jar:./lib/exec-test-1.0-SNAPSHOT.jar:./lib/exec-1.0-SNAPSHOT.jar" -
+  "org.apache.commons.exec.TestRunner"
\ No newline at end of file

Propchange: commons/sandbox/exec/trunk/src/test/bin/testme.dcl
------------------------------------------------------------------------------
--- svn:eol-style (original)
+++ svn:eol-style Thu Apr 10 16:25:47 2008
@@ -1 +1 @@
-CR
+LF

Modified: commons/sandbox/exec/trunk/src/test/scripts/error.dcl
URL: http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/test/scripts/error.dcl?rev=647007&r1=647006&r2=647007&view=diff
==============================================================================
--- commons/sandbox/exec/trunk/src/test/scripts/error.dcl (original)
+++ commons/sandbox/exec/trunk/src/test/scripts/error.dcl Thu Apr 10 16:25:47 2008
@@ -1 +1,24 @@
-$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$!
$! Licensed to the Apache Software Foundation (ASF) under one or more
$! contributor license agreements.  See the NOTICE file distributed with
$! this work for additional information regarding copyright ownership.
$! The ASF licenses this file to You under the Apache License, Version 2.0
$! (the "License"); you may not use this file except in compliance with
$! the License.  You may obtain a copy of the License at
$!
$!      http://www.apache.org/licenses/LICENSE-2.0
$!
$! Unless required by applicable law or agreed to in writing, software
$! distributed under the License is distributed on an "AS IS" BASIS,
$! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
$! See the License for the specific language governing permissions and
$! limitations under the License.
$! 
$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$!
$! do something and return an error res
 ult code
$!
$ write sys$output "FOO.''TEST_ENV_VAR'.''P1'"
$!
$ exit 2 ! this is an Error
\ No newline at end of file
+$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+$!
+$! Licensed to the Apache Software Foundation (ASF) under one or more
+$! contributor license agreements.  See the NOTICE file distributed with
+$! this work for additional information regarding copyright ownership.
+$! The ASF licenses this file to You under the Apache License, Version 2.0
+$! (the "License"); you may not use this file except in compliance with
+$! the License.  You may obtain a copy of the License at
+$!
+$!      http://www.apache.org/licenses/LICENSE-2.0
+$!
+$! Unless required by applicable law or agreed to in writing, software
+$! distributed under the License is distributed on an "AS IS" BASIS,
+$! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+$! See the License for the specific language governing permissions and
+$! limitations under the License.
+$! 
+$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+$!
+$! do something and return an error result code
+$!
+$ write sys$output "FOO.''TEST_ENV_VAR'.''P1'"
+$!
+$ exit 2 ! this is an Error
\ No newline at end of file

Propchange: commons/sandbox/exec/trunk/src/test/scripts/error.dcl
------------------------------------------------------------------------------
--- svn:eol-style (original)
+++ svn:eol-style Thu Apr 10 16:25:47 2008
@@ -1 +1 @@
-CR
+LF

Modified: commons/sandbox/exec/trunk/src/test/scripts/forever.dcl
URL: http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/test/scripts/forever.dcl?rev=647007&r1=647006&r2=647007&view=diff
==============================================================================
--- commons/sandbox/exec/trunk/src/test/scripts/forever.dcl (original)
+++ commons/sandbox/exec/trunk/src/test/scripts/forever.dcl Thu Apr 10 16:25:47 2008
@@ -1 +1,34 @@
-$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$!
$! Licensed to the Apache Software Foundation (ASF) under one or more
$! contributor license agreements.  See the NOTICE file distributed with
$! this work for additional information regarding copyright ownership.
$! The ASF licenses this file to You under the Apache License, Version 2.0
$! (the "License"); you may not use this file except in compliance with
$! the License.  You may obtain a copy of the License at
$!
$!      http://www.apache.org/licenses/LICENSE-2.0
$!
$! Unless required by applicable law or agreed to in writing, software
$! distributed under the License is distributed on an "AS IS" BASIS,
$! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
$! See the License for the specific language governing permissions and
$! limitations under the License.
$! 
$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$!
$! run an infinite loop so the script w
 ill never ever terminate
$!
$! Suppress timeout warning
$ SET MESSAGE  /NOFACILITY  /NOIDENTIFICATION       /NOSEVERITY  /NOTEXT
$!
$LOOP:
$   read /prompt="."/time_out=1 sys$command dummy
$ GOTO LOOP
\ No newline at end of file
+$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+$!
+$! Licensed to the Apache Software Foundation (ASF) under one or more
+$! contributor license agreements.  See the NOTICE file distributed with
+$! this work for additional information regarding copyright ownership.
+$! The ASF licenses this file to You under the Apache License, Version 2.0
+$! (the "License"); you may not use this file except in compliance with
+$! the License.  You may obtain a copy of the License at
+$!
+$!      http://www.apache.org/licenses/LICENSE-2.0
+$!
+$! Unless required by applicable law or agreed to in writing, software
+$! distributed under the License is distributed on an "AS IS" BASIS,
+$! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+$! See the License for the specific language governing permissions and
+$! limitations under the License.
+$! 
+$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+$!
+$! run an infinite loop so the script will never ever terminate
+$!
+$! Suppress timeout warning
+$ l_msg=f$environment("MESSAGE")
+$ SET MESSAGE  /NOFACILITY  /NOIDENTIFICATION       /NOSEVERITY  /NOTEXT
+$!
+$ SET NOON
+$ ON CONTROL_Y THEN GOTO DONE
+$LOOP:
+$   read /prompt="."/time_out=1 sys$command dummy
+$ GOTO LOOP
+$!
+$DONE:
+$! Restore message settings
+$ SET MESSAGE  'l_msg'
\ No newline at end of file

Propchange: commons/sandbox/exec/trunk/src/test/scripts/forever.dcl
------------------------------------------------------------------------------
--- svn:eol-style (original)
+++ svn:eol-style Thu Apr 10 16:25:47 2008
@@ -1 +1 @@
-CR
+LF

Modified: commons/sandbox/exec/trunk/src/test/scripts/test.dcl
URL: http://svn.apache.org/viewvc/commons/sandbox/exec/trunk/src/test/scripts/test.dcl?rev=647007&r1=647006&r2=647007&view=diff
==============================================================================
--- commons/sandbox/exec/trunk/src/test/scripts/test.dcl (original)
+++ commons/sandbox/exec/trunk/src/test/scripts/test.dcl Thu Apr 10 16:25:47 2008
@@ -1 +1,25 @@
-$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$!
$! Licensed to the Apache Software Foundation (ASF) under one or more
$! contributor license agreements.  See the NOTICE file distributed with
$! this work for additional information regarding copyright ownership.
$! The ASF licenses this file to You under the Apache License, Version 2.0
$! (the "License"); you may not use this file except in compliance with
$! the License.  You may obtain a copy of the License at
$!
$!      http://www.apache.org/licenses/LICENSE-2.0
$!
$! Unless required by applicable law or agreed to in writing, software
$! distributed under the License is distributed on an "AS IS" BASIS,
$! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
$! See the License for the specific language governing permissions and
$! limitations under the License.
$!
$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
$! 
$! print the given environment variable
  and command line parameter
$! since this is verified by the regression test
$!
$ write sys$output "FOO.''TEST_ENV_VAR'.''P1'"
$!
$ exit 1 ! normal exit
\ No newline at end of file
+$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+$!
+$! Licensed to the Apache Software Foundation (ASF) under one or more
+$! contributor license agreements.  See the NOTICE file distributed with
+$! this work for additional information regarding copyright ownership.
+$! The ASF licenses this file to You under the Apache License, Version 2.0
+$! (the "License"); you may not use this file except in compliance with
+$! the License.  You may obtain a copy of the License at
+$!
+$!      http://www.apache.org/licenses/LICENSE-2.0
+$!
+$! Unless required by applicable law or agreed to in writing, software
+$! distributed under the License is distributed on an "AS IS" BASIS,
+$! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+$! See the License for the specific language governing permissions and
+$! limitations under the License.
+$!
+$!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+$! 
+$! print the given environment variable and command line parameter
+$! since this is verified by the regression test
+$!
+$ write sys$output "FOO.''TEST_ENV_VAR'.''P1'"
+$!
+$ exit 1 ! normal exit
\ No newline at end of file

Propchange: commons/sandbox/exec/trunk/src/test/scripts/test.dcl
------------------------------------------------------------------------------
--- svn:eol-style (original)
+++ svn:eol-style Thu Apr 10 16:25:47 2008
@@ -1 +1 @@
-CR
+LF