commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sgoes...@apache.org
Subject svn commit: r951331 - in /commons/proper/exec/trunk/src/test/scripts: acrord32.bat acrord32.sh
Date Fri, 04 Jun 2010 08:53:58 GMT
Author: sgoeschl
Date: Fri Jun  4 08:53:58 2010
New Revision: 951331

URL: http://svn.apache.org/viewvc?rev=951331&view=rev
Log:
[EXEC-42] Updating the tutorial and adding more tests

Added:
    commons/proper/exec/trunk/src/test/scripts/acrord32.bat
    commons/proper/exec/trunk/src/test/scripts/acrord32.sh   (with props)

Added: commons/proper/exec/trunk/src/test/scripts/acrord32.bat
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/test/scripts/acrord32.bat?rev=951331&view=auto
==============================================================================
--- commons/proper/exec/trunk/src/test/scripts/acrord32.bat (added)
+++ commons/proper/exec/trunk/src/test/scripts/acrord32.bat Fri Jun  4 08:53:58 2010
@@ -0,0 +1,21 @@
+@ECHO OFF
+
+REM Licensed to the Apache Software Foundation (ASF) under one or more
+REM contributor license agreements.  See the NOTICE file distributed with
+REM this work for additional information regarding copyright ownership.
+REM The ASF licenses this file to You under the Apache License, Version 2.0
+REM (the "License"); you may not use this file except in compliance with
+REM the License.  You may obtain a copy of the License at
+REM
+REM      http://www.apache.org/licenses/LICENSE-2.0
+REM
+REM Unless required by applicable law or agreed to in writing, software
+REM distributed under the License is distributed on an "AS IS" BASIS,
+REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+REM See the License for the specific language governing permissions and
+REM limitations under the License.
+
+echo "[acrord32] Printing the following document : '%3'"
+ping -n 3 -w 1000 127.0.0.1
+echo "[acrord32] Finished printing"
+exit /B 1

Added: commons/proper/exec/trunk/src/test/scripts/acrord32.sh
URL: http://svn.apache.org/viewvc/commons/proper/exec/trunk/src/test/scripts/acrord32.sh?rev=951331&view=auto
==============================================================================
--- commons/proper/exec/trunk/src/test/scripts/acrord32.sh (added)
+++ commons/proper/exec/trunk/src/test/scripts/acrord32.sh Fri Jun  4 08:53:58 2010
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+#
+# 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.
+#
+
+# Simulate printing a PDF document
+
+echo "[acrord32] Printing the following document : '$3'"
+sleep 3
+echo "[acrord32] Finished printing"
+exit 1
+

Propchange: commons/proper/exec/trunk/src/test/scripts/acrord32.sh
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message