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

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Fri Jul 29 16:47:51 CDT 2011


Author: wozniak
Date: 2011-07-29 16:47:50 -0500 (Fri, 29 Jul 2011)
New Revision: 4878

Added:
   trunk/tests/providers/local-pbs-coasters/fusion/001-catsn-pads-local-pbs-coasters.check.sh
   trunk/tests/providers/local-pbs-coasters/fusion/001-catsn-pads-local-pbs-coasters.setup.sh
   trunk/tests/providers/local-pbs-coasters/fusion/001-catsn-pads-local-pbs-coasters.swift
   trunk/tests/providers/local-pbs-coasters/fusion/001-catsn-pads-local-pbs-coasters.timeout
   trunk/tests/providers/local-pbs-coasters/fusion/data.txt
   trunk/tests/providers/local-pbs-coasters/fusion/sites.template.xml
   trunk/tests/providers/local-pbs-coasters/fusion/tc.template.data
Log:
Copy in local-pbs-coasters settings for fusion


Copied: trunk/tests/providers/local-pbs-coasters/fusion/001-catsn-pads-local-pbs-coasters.check.sh (from rev 4875, trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.check.sh)
===================================================================
--- trunk/tests/providers/local-pbs-coasters/fusion/001-catsn-pads-local-pbs-coasters.check.sh	                        (rev 0)
+++ trunk/tests/providers/local-pbs-coasters/fusion/001-catsn-pads-local-pbs-coasters.check.sh	2011-07-29 21:47:50 UTC (rev 4878)
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+set -x
+
+for count in `seq --format "%04.f" 1 1 10`
+do
+	[ -f catsn.$count.out ] || exit 1
+	CONTENTS1=$( cat catsn.$count.out.expected )
+	CONTENTS2=$( cat catsn.$count.out )
+	[[ $CONTENTS1 == $CONTENTS2 ]] || exit 1
+done
+exit 0

Copied: trunk/tests/providers/local-pbs-coasters/fusion/001-catsn-pads-local-pbs-coasters.setup.sh (from rev 4875, trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.setup.sh)
===================================================================
--- trunk/tests/providers/local-pbs-coasters/fusion/001-catsn-pads-local-pbs-coasters.setup.sh	                        (rev 0)
+++ trunk/tests/providers/local-pbs-coasters/fusion/001-catsn-pads-local-pbs-coasters.setup.sh	2011-07-29 21:47:50 UTC (rev 4878)
@@ -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-coasters/fusion/001-catsn-pads-local-pbs-coasters.swift (from rev 4875, trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.swift)
===================================================================
--- trunk/tests/providers/local-pbs-coasters/fusion/001-catsn-pads-local-pbs-coasters.swift	                        (rev 0)
+++ trunk/tests/providers/local-pbs-coasters/fusion/001-catsn-pads-local-pbs-coasters.swift	2011-07-29 21:47:50 UTC (rev 4878)
@@ -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-coasters/fusion/001-catsn-pads-local-pbs-coasters.timeout (from rev 4875, trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.timeout)
===================================================================
--- trunk/tests/providers/local-pbs-coasters/fusion/001-catsn-pads-local-pbs-coasters.timeout	                        (rev 0)
+++ trunk/tests/providers/local-pbs-coasters/fusion/001-catsn-pads-local-pbs-coasters.timeout	2011-07-29 21:47:50 UTC (rev 4878)
@@ -0,0 +1,2 @@
+7200
+

Copied: trunk/tests/providers/local-pbs-coasters/fusion/data.txt (from rev 4875, trunk/tests/providers/local-pbs-coasters/data.txt)
===================================================================
--- trunk/tests/providers/local-pbs-coasters/fusion/data.txt	                        (rev 0)
+++ trunk/tests/providers/local-pbs-coasters/fusion/data.txt	2011-07-29 21:47:50 UTC (rev 4878)
@@ -0,0 +1 @@
+Hello world

Copied: trunk/tests/providers/local-pbs-coasters/fusion/sites.template.xml (from rev 4875, trunk/tests/providers/local-pbs-coasters/sites.template.xml)
===================================================================
--- trunk/tests/providers/local-pbs-coasters/fusion/sites.template.xml	                        (rev 0)
+++ trunk/tests/providers/local-pbs-coasters/fusion/sites.template.xml	2011-07-29 21:47:50 UTC (rev 4878)
@@ -0,0 +1,17 @@
+<config>
+<pool handle="local-pbs-coasters">
+  <execution jobmanager="local:pbs" provider="coaster" url="none"/>
+  <filesystem provider="local" url="none" />
+  <profile namespace="globus" key="maxWallTime">1</profile>
+  <profile namespace="globus" key="maxTime">7200</profile>
+  <profile key="jobsPerNode" namespace="globus">1</profile>
+  <profile key="slots" namespace="globus">1</profile>
+  <profile key="nodeGranularity" namespace="globus">1</profile>
+  <profile key="maxNodes" namespace="globus">1</profile>
+  <profile key="queue" namespace="globus">_QUEUE_</profile>
+  <profile key="jobThrottle" namespace="karajan">5.99</profile>
+  <profile key="initialScore" namespace="karajan">10000</profile>
+  <profile namespace="globus" key="project">_PROJECT_</profile>
+  <workdirectory>_WORK_</workdirectory>
+</pool>
+</config>

Copied: trunk/tests/providers/local-pbs-coasters/fusion/tc.template.data (from rev 4875, trunk/tests/providers/local-pbs-coasters/tc.template.data)
===================================================================
--- trunk/tests/providers/local-pbs-coasters/fusion/tc.template.data	                        (rev 0)
+++ trunk/tests/providers/local-pbs-coasters/fusion/tc.template.data	2011-07-29 21:47:50 UTC (rev 4878)
@@ -0,0 +1,8 @@
+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
+




More information about the Swift-commit mailing list