[Swift-commit] r4383 - trunk/tests/providers/local-pbs-coasters/beagle

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Mon Apr 18 11:12:34 CDT 2011


Author: wozniak
Date: 2011-04-18 11:12:34 -0500 (Mon, 18 Apr 2011)
New Revision: 4383

Added:
   trunk/tests/providers/local-pbs-coasters/beagle/001-catsn.check.sh
   trunk/tests/providers/local-pbs-coasters/beagle/001-catsn.setup.sh
   trunk/tests/providers/local-pbs-coasters/beagle/001-catsn.swift
   trunk/tests/providers/local-pbs-coasters/beagle/001-catsn.timeout
Modified:
   trunk/tests/providers/local-pbs-coasters/beagle/sites.template.xml
   trunk/tests/providers/local-pbs-coasters/beagle/tc.template.data
Log:
Initial beagle test


Added: trunk/tests/providers/local-pbs-coasters/beagle/001-catsn.check.sh
===================================================================
--- trunk/tests/providers/local-pbs-coasters/beagle/001-catsn.check.sh	                        (rev 0)
+++ trunk/tests/providers/local-pbs-coasters/beagle/001-catsn.check.sh	2011-04-18 16:12:34 UTC (rev 4383)
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# Pseudo-code for now
+
+# for f in *.out.expected 
+# do
+#   assert *.out exists 
+#   assert *.out.expected == *.out
+# done


Property changes on: trunk/tests/providers/local-pbs-coasters/beagle/001-catsn.check.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/tests/providers/local-pbs-coasters/beagle/001-catsn.setup.sh
===================================================================
--- trunk/tests/providers/local-pbs-coasters/beagle/001-catsn.setup.sh	                        (rev 0)
+++ trunk/tests/providers/local-pbs-coasters/beagle/001-catsn.setup.sh	2011-04-18 16:12:34 UTC (rev 4383)
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+cp -v $GROUP/data.txt . || exit 1


Property changes on: trunk/tests/providers/local-pbs-coasters/beagle/001-catsn.setup.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/tests/providers/local-pbs-coasters/beagle/001-catsn.swift
===================================================================
--- trunk/tests/providers/local-pbs-coasters/beagle/001-catsn.swift	                        (rev 0)
+++ trunk/tests/providers/local-pbs-coasters/beagle/001-catsn.swift	2011-04-18 16:12:34 UTC (rev 4383)
@@ -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);
+}

Added: trunk/tests/providers/local-pbs-coasters/beagle/001-catsn.timeout
===================================================================
--- trunk/tests/providers/local-pbs-coasters/beagle/001-catsn.timeout	                        (rev 0)
+++ trunk/tests/providers/local-pbs-coasters/beagle/001-catsn.timeout	2011-04-18 16:12:34 UTC (rev 4383)
@@ -0,0 +1 @@
+180

Modified: trunk/tests/providers/local-pbs-coasters/beagle/sites.template.xml
===================================================================
--- trunk/tests/providers/local-pbs-coasters/beagle/sites.template.xml	2011-04-17 02:47:17 UTC (rev 4382)
+++ trunk/tests/providers/local-pbs-coasters/beagle/sites.template.xml	2011-04-18 16:12:34 UTC (rev 4383)
@@ -4,7 +4,7 @@
 <set name="wdir" value="/lustre/beagle/{user.name}/work"/>
 <echo message="setting workDirectory to: {wdir}"/>
 
-<pool handle="local-pbs-coasters">
+<pool handle="pbs-beagle">
   <execution jobmanager="local:pbs" provider="coaster" url="none"/>
   <filesystem provider="local" url="none" />
   <profile namespace="globus" key="maxWallTime">1</profile>

Modified: trunk/tests/providers/local-pbs-coasters/beagle/tc.template.data
===================================================================
--- trunk/tests/providers/local-pbs-coasters/beagle/tc.template.data	2011-04-17 02:47:17 UTC (rev 4382)
+++ trunk/tests/providers/local-pbs-coasters/beagle/tc.template.data	2011-04-18 16:12:34 UTC (rev 4383)
@@ -1,8 +1,7 @@
-local-pbs-coasters 	echo 		/bin/echo	INSTALLED	INTEL32::LINUX	null
-local-pbs-coasters 	cat 		/bin/cat	INSTALLED	INTEL32::LINUX	null
-local-pbs-coasters 	ls 		/bin/ls		INSTALLED	INTEL32::LINUX	null
-local-pbs-coasters 	grep 		/bin/grep	INSTALLED	INTEL32::LINUX	null
-local-pbs-coasters 	sort 		/bin/sort	INSTALLED	INTEL32::LINUX	null
-local-pbs-coasters 	paste 		/bin/paste	INSTALLED	INTEL32::LINUX	null
-local-pbs-coasters	wc		/usr/bin/wc	INSTALLED	INTEL32::LINUX	null
-
+beagle-pbs 	echo 		/bin/echo	INSTALLED	INTEL32::LINUX
+beagle-pbs 	cat 		/bin/cat	INSTALLED	INTEL32::LINUX
+beagle-pbs 	ls 		/bin/ls		INSTALLED	INTEL32::LINUX
+beagle-pbs 	grep 		/bin/grep	INSTALLED	INTEL32::LINUX
+beagle-pbs 	sort 		/bin/sort	INSTALLED	INTEL32::LINUX
+beagle-pbs 	paste 		/bin/paste	INSTALLED	INTEL32::LINUX
+beagle-pbs	wc		/usr/bin/wc	INSTALLED	INTEL32::LINUX




More information about the Swift-commit mailing list