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 2010/06/04 10:53:58 UTC

svn commit: r951331 - in /commons/proper/exec/trunk/src/test/scripts: acrord32.bat acrord32.sh

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 = *