[Swift-commit] r7651 - SwiftApps/cloud

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Fri Mar 7 20:35:47 CST 2014


Author: ketan
Date: 2014-03-07 20:35:47 -0600 (Fri, 07 Mar 2014)
New Revision: 7651

Added:
   SwiftApps/cloud/catsnsleep.swift
   SwiftApps/cloud/cf
   SwiftApps/cloud/data.txt
Log:
add test script

Added: SwiftApps/cloud/catsnsleep.swift
===================================================================
--- SwiftApps/cloud/catsnsleep.swift	                        (rev 0)
+++ SwiftApps/cloud/catsnsleep.swift	2014-03-08 02:35:47 UTC (rev 7651)
@@ -0,0 +1,19 @@
+type file;
+type script;
+type data;
+
+app (file o) catnap (script _catnap, string _delay, data _i){
+  bash @_catnap _delay @_i stdout=@o;
+}
+
+string delay=@arg("s","1");
+
+data datafile<"data.txt">;
+script scriptfile<"catnap.sh">;
+
+file out[]<simple_mapper; location="outdir", prefix="f.",suffix=".out">;
+
+foreach j in [1:@toint(@arg("n","1"))] {
+  out[j] = catnap(scriptfile, delay, datafile);
+}
+

Added: SwiftApps/cloud/cf
===================================================================
--- SwiftApps/cloud/cf	                        (rev 0)
+++ SwiftApps/cloud/cf	2014-03-08 02:35:47 UTC (rev 7651)
@@ -0,0 +1,5 @@
+use.provider.staging=true
+wrapperlog.always.transfer=false
+execution.retries=0
+provider.staging.pin.swiftfiles=false
+sitedir.keep=false

Added: SwiftApps/cloud/data.txt
===================================================================
--- SwiftApps/cloud/data.txt	                        (rev 0)
+++ SwiftApps/cloud/data.txt	2014-03-08 02:35:47 UTC (rev 7651)
@@ -0,0 +1,3 @@
+=========
+TEST DATA
+=========




More information about the Swift-commit mailing list