Author: sebb Date: Thu Apr 10 10:15:07 2008 New Revision: 646878 URL: http://svn.apache.org/viewvc?rev=646878&view=rev Log: Initial set of DCL test scripts
Modified: commons/sandbox/exec/trunk/src/test/scripts/error.dcl commons/sandbox/exec/trunk/src/test/scripts/forever.dcl commons/sandbox/exec/trunk/src/test/scripts/test.dcl 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=646878&r1=646877&r2=646878&view=diff ============================================================================== --- commons/sandbox/exec/trunk/src/test/scripts/error.dcl (original) +++ commons/sandbox/exec/trunk/src/test/scripts/error.dcl Thu Apr 10 10:15:07 2008 @@ -1 +1 @@ -Please fill out the gaps .... \ 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 res ult code $! $ write sys$output "FOO.''TEST_ENV_VAR'.''P1'" $! $ exit 2 ! this is an Error \ No newline at end of file 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=646878&r1=646877&r2=646878&view=diff ============================================================================== --- commons/sandbox/exec/trunk/src/test/scripts/forever.dcl (original) +++ commons/sandbox/exec/trunk/src/test/scripts/forever.dcl Thu Apr 10 10:15:07 2008 @@ -1 +1 @@ -Please fill out the gaps .... \ 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 w ill never ever terminate $! $LOOP: $ WAIT 00:00:01 $ WRITE SYS$OUTPUT "." ! this includes a new line ;-) $ GOTO LOOP \ No newline at end of file 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=646878&r1=646877&r2=646878&view=diff ============================================================================== --- commons/sandbox/exec/trunk/src/test/scripts/test.dcl (original) +++ commons/sandbox/exec/trunk/src/test/scripts/test.dcl Thu Apr 10 10:15:07 2008 @@ -1 +1 @@ -Please fill out the gaps .... \ 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