[Swift-commit] r4138 - in branches/release-0.92/tests/providers: . local-sge-coasters

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Wed Feb 23 16:48:57 CST 2011


Author: skenny
Date: 2011-02-23 16:48:54 -0600 (Wed, 23 Feb 2011)
New Revision: 4138

Added:
   branches/release-0.92/tests/providers/local-sge-coasters/
   branches/release-0.92/tests/providers/local-sge-coasters/001-catsn-local-sge-coasters.check.sh
   branches/release-0.92/tests/providers/local-sge-coasters/001-catsn-local-sge-coasters.setup.sh
   branches/release-0.92/tests/providers/local-sge-coasters/001-catsn-local-sge-coasters.swift
   branches/release-0.92/tests/providers/local-sge-coasters/001-catsn-local-sge-coasters.timeout
   branches/release-0.92/tests/providers/local-sge-coasters/catsn.0001.out.expected
   branches/release-0.92/tests/providers/local-sge-coasters/catsn.0002.out.expected
   branches/release-0.92/tests/providers/local-sge-coasters/catsn.0003.out.expected
   branches/release-0.92/tests/providers/local-sge-coasters/catsn.0004.out.expected
   branches/release-0.92/tests/providers/local-sge-coasters/catsn.0005.out.expected
   branches/release-0.92/tests/providers/local-sge-coasters/catsn.0006.out.expected
   branches/release-0.92/tests/providers/local-sge-coasters/catsn.0007.out.expected
   branches/release-0.92/tests/providers/local-sge-coasters/catsn.0008.out.expected
   branches/release-0.92/tests/providers/local-sge-coasters/catsn.0009.out.expected
   branches/release-0.92/tests/providers/local-sge-coasters/catsn.0010.out.expected
   branches/release-0.92/tests/providers/local-sge-coasters/data.txt
   branches/release-0.92/tests/providers/local-sge-coasters/sites.template.xml
   branches/release-0.92/tests/providers/local-sge-coasters/tc.template.data
   branches/release-0.92/tests/providers/local-sge-coasters/title.txt
Log:
for ranger testing

Added: branches/release-0.92/tests/providers/local-sge-coasters/001-catsn-local-sge-coasters.check.sh
===================================================================
--- branches/release-0.92/tests/providers/local-sge-coasters/001-catsn-local-sge-coasters.check.sh	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-sge-coasters/001-catsn-local-sge-coasters.check.sh	2011-02-23 22:48:54 UTC (rev 4138)
@@ -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


Property changes on: branches/release-0.92/tests/providers/local-sge-coasters/001-catsn-local-sge-coasters.check.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/release-0.92/tests/providers/local-sge-coasters/001-catsn-local-sge-coasters.setup.sh
===================================================================
--- branches/release-0.92/tests/providers/local-sge-coasters/001-catsn-local-sge-coasters.setup.sh	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-sge-coasters/001-catsn-local-sge-coasters.setup.sh	2011-02-23 22:48:54 UTC (rev 4138)
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cp -v $GROUP/data.txt . || exit 1
+cp -v $GROUP/*expected . || exit 1


Property changes on: branches/release-0.92/tests/providers/local-sge-coasters/001-catsn-local-sge-coasters.setup.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/release-0.92/tests/providers/local-sge-coasters/001-catsn-local-sge-coasters.swift
===================================================================
--- branches/release-0.92/tests/providers/local-sge-coasters/001-catsn-local-sge-coasters.swift	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-sge-coasters/001-catsn-local-sge-coasters.swift	2011-02-23 22:48:54 UTC (rev 4138)
@@ -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.92/tests/providers/local-sge-coasters/001-catsn-local-sge-coasters.timeout
===================================================================
--- branches/release-0.92/tests/providers/local-sge-coasters/001-catsn-local-sge-coasters.timeout	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-sge-coasters/001-catsn-local-sge-coasters.timeout	2011-02-23 22:48:54 UTC (rev 4138)
@@ -0,0 +1,2 @@
+7200
+

Added: branches/release-0.92/tests/providers/local-sge-coasters/catsn.0001.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-sge-coasters/catsn.0001.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-sge-coasters/catsn.0001.out.expected	2011-02-23 22:48:54 UTC (rev 4138)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-sge-coasters/catsn.0002.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-sge-coasters/catsn.0002.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-sge-coasters/catsn.0002.out.expected	2011-02-23 22:48:54 UTC (rev 4138)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-sge-coasters/catsn.0003.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-sge-coasters/catsn.0003.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-sge-coasters/catsn.0003.out.expected	2011-02-23 22:48:54 UTC (rev 4138)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-sge-coasters/catsn.0004.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-sge-coasters/catsn.0004.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-sge-coasters/catsn.0004.out.expected	2011-02-23 22:48:54 UTC (rev 4138)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-sge-coasters/catsn.0005.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-sge-coasters/catsn.0005.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-sge-coasters/catsn.0005.out.expected	2011-02-23 22:48:54 UTC (rev 4138)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-sge-coasters/catsn.0006.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-sge-coasters/catsn.0006.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-sge-coasters/catsn.0006.out.expected	2011-02-23 22:48:54 UTC (rev 4138)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-sge-coasters/catsn.0007.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-sge-coasters/catsn.0007.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-sge-coasters/catsn.0007.out.expected	2011-02-23 22:48:54 UTC (rev 4138)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-sge-coasters/catsn.0008.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-sge-coasters/catsn.0008.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-sge-coasters/catsn.0008.out.expected	2011-02-23 22:48:54 UTC (rev 4138)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-sge-coasters/catsn.0009.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-sge-coasters/catsn.0009.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-sge-coasters/catsn.0009.out.expected	2011-02-23 22:48:54 UTC (rev 4138)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-sge-coasters/catsn.0010.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-sge-coasters/catsn.0010.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-sge-coasters/catsn.0010.out.expected	2011-02-23 22:48:54 UTC (rev 4138)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-sge-coasters/data.txt
===================================================================
--- branches/release-0.92/tests/providers/local-sge-coasters/data.txt	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-sge-coasters/data.txt	2011-02-23 22:48:54 UTC (rev 4138)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-sge-coasters/sites.template.xml
===================================================================
--- branches/release-0.92/tests/providers/local-sge-coasters/sites.template.xml	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-sge-coasters/sites.template.xml	2011-02-23 22:48:54 UTC (rev 4138)
@@ -0,0 +1,17 @@
+<config>
+<pool handle="local-sge-coasters">
+  <execution jobmanager="local:sge" 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="workersPerNode" 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>

Added: branches/release-0.92/tests/providers/local-sge-coasters/tc.template.data
===================================================================
--- branches/release-0.92/tests/providers/local-sge-coasters/tc.template.data	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-sge-coasters/tc.template.data	2011-02-23 22:48:54 UTC (rev 4138)
@@ -0,0 +1,8 @@
+local-sge-coasters 	echo 		/bin/echo	INSTALLED	INTEL32::LINUX	null
+local-sge-coasters 	cat 		/bin/cat	INSTALLED	INTEL32::LINUX	null
+local-sge-coasters 	ls 		/bin/ls		INSTALLED	INTEL32::LINUX	null
+local-sge-coasters 	grep 		/bin/grep	INSTALLED	INTEL32::LINUX	null
+local-sge-coasters 	sort 		/bin/sort	INSTALLED	INTEL32::LINUX	null
+local-sge-coasters 	paste 		/bin/paste	INSTALLED	INTEL32::LINUX	null
+local-sge-coasters	wc		/usr/bin/wc	INSTALLED	INTEL32::LINUX	null
+

Added: branches/release-0.92/tests/providers/local-sge-coasters/title.txt
===================================================================
--- branches/release-0.92/tests/providers/local-sge-coasters/title.txt	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-sge-coasters/title.txt	2011-02-23 22:48:54 UTC (rev 4138)
@@ -0,0 +1 @@
+Local PBS with Coasters Configuration Test




More information about the Swift-commit mailing list