[Swift-commit] r5035 - in branches/release-0.93/tests: groups providers providers/fusion providers/local-pbs

davidk at ci.uchicago.edu davidk at ci.uchicago.edu
Wed Aug 31 15:46:21 CDT 2011


Author: davidk
Date: 2011-08-31 15:46:21 -0500 (Wed, 31 Aug 2011)
New Revision: 5035

Added:
   branches/release-0.93/tests/groups/providers-fusion.sh
   branches/release-0.93/tests/providers/fusion/
   branches/release-0.93/tests/providers/fusion/catsn.0001.out.expected
   branches/release-0.93/tests/providers/fusion/catsn.0002.out.expected
   branches/release-0.93/tests/providers/fusion/catsn.0003.out.expected
   branches/release-0.93/tests/providers/fusion/catsn.0004.out.expected
   branches/release-0.93/tests/providers/fusion/catsn.0005.out.expected
   branches/release-0.93/tests/providers/fusion/catsn.0006.out.expected
   branches/release-0.93/tests/providers/fusion/catsn.0007.out.expected
   branches/release-0.93/tests/providers/fusion/catsn.0008.out.expected
   branches/release-0.93/tests/providers/fusion/catsn.0009.out.expected
   branches/release-0.93/tests/providers/fusion/catsn.0010.out.expected
   branches/release-0.93/tests/providers/fusion/catsn.setup.sh
   branches/release-0.93/tests/providers/fusion/catsn.swift
   branches/release-0.93/tests/providers/fusion/catsn.timeout
   branches/release-0.93/tests/providers/fusion/data.txt
   branches/release-0.93/tests/providers/fusion/sites.template.xml
   branches/release-0.93/tests/providers/fusion/tc.template.data
Removed:
   branches/release-0.93/tests/providers/local-pbs/fusion/
   branches/release-0.93/tests/providers/local-pbs/pads/
Log:
Updates to fusion provider test


Added: branches/release-0.93/tests/groups/providers-fusion.sh
===================================================================
--- branches/release-0.93/tests/groups/providers-fusion.sh	                        (rev 0)
+++ branches/release-0.93/tests/groups/providers-fusion.sh	2011-08-31 20:46:21 UTC (rev 5035)
@@ -0,0 +1,6 @@
+
+# GROUPLIST definition of providers that run on PADS
+
+GROUPLIST=( 	    
+	    $TESTDIR/providers/fusion
+)

Added: branches/release-0.93/tests/providers/fusion/catsn.0001.out.expected
===================================================================
--- branches/release-0.93/tests/providers/fusion/catsn.0001.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/fusion/catsn.0001.out.expected	2011-08-31 20:46:21 UTC (rev 5035)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/fusion/catsn.0002.out.expected
===================================================================
--- branches/release-0.93/tests/providers/fusion/catsn.0002.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/fusion/catsn.0002.out.expected	2011-08-31 20:46:21 UTC (rev 5035)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/fusion/catsn.0003.out.expected
===================================================================
--- branches/release-0.93/tests/providers/fusion/catsn.0003.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/fusion/catsn.0003.out.expected	2011-08-31 20:46:21 UTC (rev 5035)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/fusion/catsn.0004.out.expected
===================================================================
--- branches/release-0.93/tests/providers/fusion/catsn.0004.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/fusion/catsn.0004.out.expected	2011-08-31 20:46:21 UTC (rev 5035)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/fusion/catsn.0005.out.expected
===================================================================
--- branches/release-0.93/tests/providers/fusion/catsn.0005.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/fusion/catsn.0005.out.expected	2011-08-31 20:46:21 UTC (rev 5035)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/fusion/catsn.0006.out.expected
===================================================================
--- branches/release-0.93/tests/providers/fusion/catsn.0006.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/fusion/catsn.0006.out.expected	2011-08-31 20:46:21 UTC (rev 5035)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/fusion/catsn.0007.out.expected
===================================================================
--- branches/release-0.93/tests/providers/fusion/catsn.0007.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/fusion/catsn.0007.out.expected	2011-08-31 20:46:21 UTC (rev 5035)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/fusion/catsn.0008.out.expected
===================================================================
--- branches/release-0.93/tests/providers/fusion/catsn.0008.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/fusion/catsn.0008.out.expected	2011-08-31 20:46:21 UTC (rev 5035)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/fusion/catsn.0009.out.expected
===================================================================
--- branches/release-0.93/tests/providers/fusion/catsn.0009.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/fusion/catsn.0009.out.expected	2011-08-31 20:46:21 UTC (rev 5035)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/fusion/catsn.0010.out.expected
===================================================================
--- branches/release-0.93/tests/providers/fusion/catsn.0010.out.expected	                        (rev 0)
+++ branches/release-0.93/tests/providers/fusion/catsn.0010.out.expected	2011-08-31 20:46:21 UTC (rev 5035)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/fusion/catsn.setup.sh
===================================================================
--- branches/release-0.93/tests/providers/fusion/catsn.setup.sh	                        (rev 0)
+++ branches/release-0.93/tests/providers/fusion/catsn.setup.sh	2011-08-31 20:46:21 UTC (rev 5035)
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+cp -v $GROUP/data.txt . || exit 1
+ipaddr=$( ifconfig | grep inet | head -1 | cut -d ':' -f 2 | awk '{print $1}' )
+export GLOBUS_HOSTNAME=$ipaddr
+


Property changes on: branches/release-0.93/tests/providers/fusion/catsn.setup.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: branches/release-0.93/tests/providers/fusion/catsn.swift
===================================================================
--- branches/release-0.93/tests/providers/fusion/catsn.swift	                        (rev 0)
+++ branches/release-0.93/tests/providers/fusion/catsn.swift	2011-08-31 20:46:21 UTC (rev 5035)
@@ -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: branches/release-0.93/tests/providers/fusion/catsn.timeout
===================================================================
--- branches/release-0.93/tests/providers/fusion/catsn.timeout	                        (rev 0)
+++ branches/release-0.93/tests/providers/fusion/catsn.timeout	2011-08-31 20:46:21 UTC (rev 5035)
@@ -0,0 +1 @@
+30

Added: branches/release-0.93/tests/providers/fusion/data.txt
===================================================================
--- branches/release-0.93/tests/providers/fusion/data.txt	                        (rev 0)
+++ branches/release-0.93/tests/providers/fusion/data.txt	2011-08-31 20:46:21 UTC (rev 5035)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.93/tests/providers/fusion/sites.template.xml
===================================================================
--- branches/release-0.93/tests/providers/fusion/sites.template.xml	                        (rev 0)
+++ branches/release-0.93/tests/providers/fusion/sites.template.xml	2011-08-31 20:46:21 UTC (rev 5035)
@@ -0,0 +1,16 @@
+<config>
+<pool handle="fusion">
+  <execution jobmanager="local:pbs" provider="coaster" url="none"/>
+  <filesystem provider="local" url="none" />
+  <profile namespace="globus" key="maxtime">750</profile>
+  <profile namespace="globus" key="jobsPerNode">1</profile>
+  <profile namespace="globus" key="slots">1</profile>
+  <profile namespace="globus" key="nodeGranularity">1</profile>
+  <profile namespace="globus" key="maxNodes">2</profile>
+  <profile namespace="globus" key="queue">shared</profile>
+  <profile namespace="karajan" key="jobThrottle">5.99</profile>
+  <profile namespace="karajan" key="initialScore">10000</profile>
+  <workdirectory>_WORK_</workdirectory>
+</pool>
+</config>
+

Added: branches/release-0.93/tests/providers/fusion/tc.template.data
===================================================================
--- branches/release-0.93/tests/providers/fusion/tc.template.data	                        (rev 0)
+++ branches/release-0.93/tests/providers/fusion/tc.template.data	2011-08-31 20:46:21 UTC (rev 5035)
@@ -0,0 +1,7 @@
+fusion 	echo 		/bin/echo	INSTALLED	INTEL32::LINUX
+fusion 	cat 		/bin/cat	INSTALLED	INTEL32::LINUX
+fusion 	ls 		/bin/ls		INSTALLED	INTEL32::LINUX
+fusion 	grep 		/bin/grep	INSTALLED	INTEL32::LINUX
+fusion 	sort 		/bin/sort	INSTALLED	INTEL32::LINUX
+fusion 	paste 		/bin/paste	INSTALLED	INTEL32::LINUX
+fusion	wc		/usr/bin/wc	INSTALLED	INTEL32::LINUX




More information about the Swift-commit mailing list