[Swift-commit] r4359 - trunk/tests/providers/local-pbs/fusion

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Wed Apr 13 11:35:05 CDT 2011


Author: wozniak
Date: 2011-04-13 11:35:05 -0500 (Wed, 13 Apr 2011)
New Revision: 4359

Added:
   trunk/tests/providers/local-pbs/fusion/001-catsn.check.sh
   trunk/tests/providers/local-pbs/fusion/001-catsn.setup.sh
   trunk/tests/providers/local-pbs/fusion/001-catsn.swift
   trunk/tests/providers/local-pbs/fusion/001-catsn.timeout
   trunk/tests/providers/local-pbs/fusion/data.txt
   trunk/tests/providers/local-pbs/fusion/sites.template.xml
Log:
Bring in test from Beagle and Parvis cases


Copied: trunk/tests/providers/local-pbs/fusion/001-catsn.check.sh (from rev 4357, trunk/tests/providers/local-pbs/beagle/001-catsn.check.sh)
===================================================================
--- trunk/tests/providers/local-pbs/fusion/001-catsn.check.sh	                        (rev 0)
+++ trunk/tests/providers/local-pbs/fusion/001-catsn.check.sh	2011-04-13 16:35:05 UTC (rev 4359)
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# Pseudo-code for now
+
+# for f in *.out.expected 
+# do
+#   assert *.out exists 
+#   assert *.out.expected == *.out
+# done

Copied: trunk/tests/providers/local-pbs/fusion/001-catsn.setup.sh (from rev 4357, trunk/tests/providers/local-pbs/beagle/001-catsn.setup.sh)
===================================================================
--- trunk/tests/providers/local-pbs/fusion/001-catsn.setup.sh	                        (rev 0)
+++ trunk/tests/providers/local-pbs/fusion/001-catsn.setup.sh	2011-04-13 16:35:05 UTC (rev 4359)
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cp -v $GROUP/data.txt . || exit 1
+cp -v $GROUP/*expected . || exit 1

Copied: trunk/tests/providers/local-pbs/fusion/001-catsn.swift (from rev 4357, trunk/tests/providers/local-pbs/beagle/001-catsn.swift)
===================================================================
--- trunk/tests/providers/local-pbs/fusion/001-catsn.swift	                        (rev 0)
+++ trunk/tests/providers/local-pbs/fusion/001-catsn.swift	2011-04-13 16:35:05 UTC (rev 4359)
@@ -0,0 +1,15 @@
+type file;
+
+app (file o) cat (file i)
+{
+  cat @i stdout=@o;
+}
+
+// string t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
+// string char[] = @strsplit(t, "");  
+
+file out[]<simple_mapper; location=".", prefix="catsn.",suffix=".out">;
+foreach j in [1:@toint(@arg("n","10"))] {
+  file data<"data.txt">;
+  out[j] = cat(data);
+}

Copied: trunk/tests/providers/local-pbs/fusion/001-catsn.timeout (from rev 4357, trunk/tests/providers/local-pbs/beagle/001-catsn.timeout)
===================================================================
--- trunk/tests/providers/local-pbs/fusion/001-catsn.timeout	                        (rev 0)
+++ trunk/tests/providers/local-pbs/fusion/001-catsn.timeout	2011-04-13 16:35:05 UTC (rev 4359)
@@ -0,0 +1 @@
+180

Copied: trunk/tests/providers/local-pbs/fusion/data.txt (from rev 4357, trunk/tests/providers/local-pbs/beagle/data.txt)
===================================================================
--- trunk/tests/providers/local-pbs/fusion/data.txt	                        (rev 0)
+++ trunk/tests/providers/local-pbs/fusion/data.txt	2011-04-13 16:35:05 UTC (rev 4359)
@@ -0,0 +1 @@
+Hello world

Added: trunk/tests/providers/local-pbs/fusion/sites.template.xml
===================================================================
--- trunk/tests/providers/local-pbs/fusion/sites.template.xml	                        (rev 0)
+++ trunk/tests/providers/local-pbs/fusion/sites.template.xml	2011-04-13 16:35:05 UTC (rev 4359)
@@ -0,0 +1,10 @@
+<config>
+<pool handle="local-pbs">
+  <execution provider="pbs" url="none" />
+  <filesystem provider="local" url="none" />
+  <profile namespace="globus"  key="maxwalltime">5</profile>
+  <profile namespace="globus"  key="queue">batch</profile>
+  <profile namespace="globus"  key="pbs.properties">bigmem</profile>
+  <workdirectory>/home/wozniak/work</workdirectory>
+</pool>
+</config>


Property changes on: trunk/tests/providers/local-pbs/fusion/sites.template.xml
___________________________________________________________________
Name: svn:executable
   + *




More information about the Swift-commit mailing list