[Swift-commit] r5496 - in trunk/tests/sites: . ibicluster
davidk at ci.uchicago.edu
davidk at ci.uchicago.edu
Tue Jan 10 11:01:34 CST 2012
Author: davidk
Date: 2012-01-10 11:01:34 -0600 (Tue, 10 Jan 2012)
New Revision: 5496
Added:
trunk/tests/sites/ibicluster/
trunk/tests/sites/ibicluster/catsn.0001.out.expected
trunk/tests/sites/ibicluster/catsn.0002.out.expected
trunk/tests/sites/ibicluster/catsn.0003.out.expected
trunk/tests/sites/ibicluster/catsn.0004.out.expected
trunk/tests/sites/ibicluster/catsn.0005.out.expected
trunk/tests/sites/ibicluster/catsn.0006.out.expected
trunk/tests/sites/ibicluster/catsn.0007.out.expected
trunk/tests/sites/ibicluster/catsn.0008.out.expected
trunk/tests/sites/ibicluster/catsn.0009.out.expected
trunk/tests/sites/ibicluster/catsn.0010.out.expected
trunk/tests/sites/ibicluster/catsn.check.sh
trunk/tests/sites/ibicluster/catsn.setup.sh
trunk/tests/sites/ibicluster/catsn.swift
trunk/tests/sites/ibicluster/catsn.timeout
trunk/tests/sites/ibicluster/data.txt
trunk/tests/sites/ibicluster/sites.template.xml
trunk/tests/sites/ibicluster/tc.template.data
trunk/tests/sites/ibicluster/title.txt
Log:
Add site test for ibicluster
Added: trunk/tests/sites/ibicluster/catsn.0001.out.expected
===================================================================
--- trunk/tests/sites/ibicluster/catsn.0001.out.expected (rev 0)
+++ trunk/tests/sites/ibicluster/catsn.0001.out.expected 2012-01-10 17:01:34 UTC (rev 5496)
@@ -0,0 +1 @@
+blah blah
Added: trunk/tests/sites/ibicluster/catsn.0002.out.expected
===================================================================
--- trunk/tests/sites/ibicluster/catsn.0002.out.expected (rev 0)
+++ trunk/tests/sites/ibicluster/catsn.0002.out.expected 2012-01-10 17:01:34 UTC (rev 5496)
@@ -0,0 +1 @@
+blah blah
Added: trunk/tests/sites/ibicluster/catsn.0003.out.expected
===================================================================
--- trunk/tests/sites/ibicluster/catsn.0003.out.expected (rev 0)
+++ trunk/tests/sites/ibicluster/catsn.0003.out.expected 2012-01-10 17:01:34 UTC (rev 5496)
@@ -0,0 +1 @@
+blah blah
Added: trunk/tests/sites/ibicluster/catsn.0004.out.expected
===================================================================
--- trunk/tests/sites/ibicluster/catsn.0004.out.expected (rev 0)
+++ trunk/tests/sites/ibicluster/catsn.0004.out.expected 2012-01-10 17:01:34 UTC (rev 5496)
@@ -0,0 +1 @@
+blah blah
Added: trunk/tests/sites/ibicluster/catsn.0005.out.expected
===================================================================
--- trunk/tests/sites/ibicluster/catsn.0005.out.expected (rev 0)
+++ trunk/tests/sites/ibicluster/catsn.0005.out.expected 2012-01-10 17:01:34 UTC (rev 5496)
@@ -0,0 +1 @@
+blah blah
Added: trunk/tests/sites/ibicluster/catsn.0006.out.expected
===================================================================
--- trunk/tests/sites/ibicluster/catsn.0006.out.expected (rev 0)
+++ trunk/tests/sites/ibicluster/catsn.0006.out.expected 2012-01-10 17:01:34 UTC (rev 5496)
@@ -0,0 +1 @@
+blah blah
Added: trunk/tests/sites/ibicluster/catsn.0007.out.expected
===================================================================
--- trunk/tests/sites/ibicluster/catsn.0007.out.expected (rev 0)
+++ trunk/tests/sites/ibicluster/catsn.0007.out.expected 2012-01-10 17:01:34 UTC (rev 5496)
@@ -0,0 +1 @@
+blah blah
Added: trunk/tests/sites/ibicluster/catsn.0008.out.expected
===================================================================
--- trunk/tests/sites/ibicluster/catsn.0008.out.expected (rev 0)
+++ trunk/tests/sites/ibicluster/catsn.0008.out.expected 2012-01-10 17:01:34 UTC (rev 5496)
@@ -0,0 +1 @@
+blah blah
Added: trunk/tests/sites/ibicluster/catsn.0009.out.expected
===================================================================
--- trunk/tests/sites/ibicluster/catsn.0009.out.expected (rev 0)
+++ trunk/tests/sites/ibicluster/catsn.0009.out.expected 2012-01-10 17:01:34 UTC (rev 5496)
@@ -0,0 +1 @@
+blah blah
Added: trunk/tests/sites/ibicluster/catsn.0010.out.expected
===================================================================
--- trunk/tests/sites/ibicluster/catsn.0010.out.expected (rev 0)
+++ trunk/tests/sites/ibicluster/catsn.0010.out.expected 2012-01-10 17:01:34 UTC (rev 5496)
@@ -0,0 +1 @@
+blah blah
Added: trunk/tests/sites/ibicluster/catsn.check.sh
===================================================================
--- trunk/tests/sites/ibicluster/catsn.check.sh (rev 0)
+++ trunk/tests/sites/ibicluster/catsn.check.sh 2012-01-10 17:01:34 UTC (rev 5496)
@@ -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: trunk/tests/sites/ibicluster/catsn.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/sites/ibicluster/catsn.setup.sh
===================================================================
--- trunk/tests/sites/ibicluster/catsn.setup.sh (rev 0)
+++ trunk/tests/sites/ibicluster/catsn.setup.sh 2012-01-10 17:01:34 UTC (rev 5496)
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+cp -v $GROUP/data.txt . || exit 1
+cp -v $GROUP/*expected . || exit 1
+
+export QUEUE=normal
+
Property changes on: trunk/tests/sites/ibicluster/catsn.setup.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/tests/sites/ibicluster/catsn.swift
===================================================================
--- trunk/tests/sites/ibicluster/catsn.swift (rev 0)
+++ trunk/tests/sites/ibicluster/catsn.swift 2012-01-10 17:01:34 UTC (rev 5496)
@@ -0,0 +1,12 @@
+type file;
+
+app (file o) cat (file i)
+{
+ cat @i stdout=@o;
+}
+
+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/sites/ibicluster/catsn.timeout
===================================================================
--- trunk/tests/sites/ibicluster/catsn.timeout (rev 0)
+++ trunk/tests/sites/ibicluster/catsn.timeout 2012-01-10 17:01:34 UTC (rev 5496)
@@ -0,0 +1 @@
+1800
Added: trunk/tests/sites/ibicluster/data.txt
===================================================================
--- trunk/tests/sites/ibicluster/data.txt (rev 0)
+++ trunk/tests/sites/ibicluster/data.txt 2012-01-10 17:01:34 UTC (rev 5496)
@@ -0,0 +1 @@
+blah blah
Added: trunk/tests/sites/ibicluster/sites.template.xml
===================================================================
--- trunk/tests/sites/ibicluster/sites.template.xml (rev 0)
+++ trunk/tests/sites/ibicluster/sites.template.xml 2012-01-10 17:01:34 UTC (rev 5496)
@@ -0,0 +1,14 @@
+<config>
+ <pool handle="ibicluster">
+ <execution provider="coaster" url="none" jobmanager="local:sge"/>
+ <profile namespace="globus" key="pe">threaded</profile>
+ <profile namespace="globus" key="queue">all.q</profile>
+ <profile namespace="globus" key="jobsPerNode">8</profile>
+ <profile namespace="globus" key="nodeGranularity">1</profile>
+ <profile namespace="globus" key="maxnodes">2</profile>
+ <profile namespace="karajan" key="jobThrottle">0.159</profile>
+ <profile namespace="karajan" key="initialScore">10000</profile>
+ <filesystem provider="local" url="none"/>
+ <workdirectory>_WORK_</workdirectory>
+ </pool>
+</config>
Added: trunk/tests/sites/ibicluster/tc.template.data
===================================================================
--- trunk/tests/sites/ibicluster/tc.template.data (rev 0)
+++ trunk/tests/sites/ibicluster/tc.template.data 2012-01-10 17:01:34 UTC (rev 5496)
@@ -0,0 +1,8 @@
+ibicluster echo /bin/echo INSTALLED INTEL32::LINUX
+ibicluster cat /bin/cat INSTALLED INTEL32::LINUX
+ibicluster ls /bin/ls INSTALLED INTEL32::LINUX
+ibicluster grep /bin/grep INSTALLED INTEL32::LINUX
+ibicluster sort /bin/sort INSTALLED INTEL32::LINUX
+ibicluster paste /bin/paste INSTALLED INTEL32::LINUX
+ibicluster wc /usr/bin/wc INSTALLED INTEL32::LINUX
+
Added: trunk/tests/sites/ibicluster/title.txt
===================================================================
--- trunk/tests/sites/ibicluster/title.txt (rev 0)
+++ trunk/tests/sites/ibicluster/title.txt 2012-01-10 17:01:34 UTC (rev 5496)
@@ -0,0 +1 @@
+IBICluster SGE Test
More information about the Swift-commit
mailing list