[Swift-commit] r5462 - branches/release-0.93/tests/sites/ibicluster
davidk at ci.uchicago.edu
davidk at ci.uchicago.edu
Fri Dec 23 11:51:41 CST 2011
Author: davidk
Date: 2011-12-23 11:51:41 -0600 (Fri, 23 Dec 2011)
New Revision: 5462
Added:
branches/release-0.93/tests/sites/ibicluster/catsn.0001.out.expected
branches/release-0.93/tests/sites/ibicluster/catsn.0002.out.expected
branches/release-0.93/tests/sites/ibicluster/catsn.0003.out.expected
branches/release-0.93/tests/sites/ibicluster/catsn.0004.out.expected
branches/release-0.93/tests/sites/ibicluster/catsn.0005.out.expected
branches/release-0.93/tests/sites/ibicluster/catsn.0006.out.expected
branches/release-0.93/tests/sites/ibicluster/catsn.0007.out.expected
branches/release-0.93/tests/sites/ibicluster/catsn.0008.out.expected
branches/release-0.93/tests/sites/ibicluster/catsn.0009.out.expected
branches/release-0.93/tests/sites/ibicluster/catsn.0010.out.expected
branches/release-0.93/tests/sites/ibicluster/catsn.check.sh
branches/release-0.93/tests/sites/ibicluster/catsn.setup.sh
branches/release-0.93/tests/sites/ibicluster/catsn.swift
branches/release-0.93/tests/sites/ibicluster/catsn.timeout
branches/release-0.93/tests/sites/ibicluster/data.txt
branches/release-0.93/tests/sites/ibicluster/sites.template.xml
branches/release-0.93/tests/sites/ibicluster/tc.template.data
branches/release-0.93/tests/sites/ibicluster/title.txt
Log:
Site test for ibicluster
Added: branches/release-0.93/tests/sites/ibicluster/catsn.0001.out.expected
===================================================================
--- branches/release-0.93/tests/sites/ibicluster/catsn.0001.out.expected (rev 0)
+++ branches/release-0.93/tests/sites/ibicluster/catsn.0001.out.expected 2011-12-23 17:51:41 UTC (rev 5462)
@@ -0,0 +1 @@
+blah blah
Added: branches/release-0.93/tests/sites/ibicluster/catsn.0002.out.expected
===================================================================
--- branches/release-0.93/tests/sites/ibicluster/catsn.0002.out.expected (rev 0)
+++ branches/release-0.93/tests/sites/ibicluster/catsn.0002.out.expected 2011-12-23 17:51:41 UTC (rev 5462)
@@ -0,0 +1 @@
+blah blah
Added: branches/release-0.93/tests/sites/ibicluster/catsn.0003.out.expected
===================================================================
--- branches/release-0.93/tests/sites/ibicluster/catsn.0003.out.expected (rev 0)
+++ branches/release-0.93/tests/sites/ibicluster/catsn.0003.out.expected 2011-12-23 17:51:41 UTC (rev 5462)
@@ -0,0 +1 @@
+blah blah
Added: branches/release-0.93/tests/sites/ibicluster/catsn.0004.out.expected
===================================================================
--- branches/release-0.93/tests/sites/ibicluster/catsn.0004.out.expected (rev 0)
+++ branches/release-0.93/tests/sites/ibicluster/catsn.0004.out.expected 2011-12-23 17:51:41 UTC (rev 5462)
@@ -0,0 +1 @@
+blah blah
Added: branches/release-0.93/tests/sites/ibicluster/catsn.0005.out.expected
===================================================================
--- branches/release-0.93/tests/sites/ibicluster/catsn.0005.out.expected (rev 0)
+++ branches/release-0.93/tests/sites/ibicluster/catsn.0005.out.expected 2011-12-23 17:51:41 UTC (rev 5462)
@@ -0,0 +1 @@
+blah blah
Added: branches/release-0.93/tests/sites/ibicluster/catsn.0006.out.expected
===================================================================
--- branches/release-0.93/tests/sites/ibicluster/catsn.0006.out.expected (rev 0)
+++ branches/release-0.93/tests/sites/ibicluster/catsn.0006.out.expected 2011-12-23 17:51:41 UTC (rev 5462)
@@ -0,0 +1 @@
+blah blah
Added: branches/release-0.93/tests/sites/ibicluster/catsn.0007.out.expected
===================================================================
--- branches/release-0.93/tests/sites/ibicluster/catsn.0007.out.expected (rev 0)
+++ branches/release-0.93/tests/sites/ibicluster/catsn.0007.out.expected 2011-12-23 17:51:41 UTC (rev 5462)
@@ -0,0 +1 @@
+blah blah
Added: branches/release-0.93/tests/sites/ibicluster/catsn.0008.out.expected
===================================================================
--- branches/release-0.93/tests/sites/ibicluster/catsn.0008.out.expected (rev 0)
+++ branches/release-0.93/tests/sites/ibicluster/catsn.0008.out.expected 2011-12-23 17:51:41 UTC (rev 5462)
@@ -0,0 +1 @@
+blah blah
Added: branches/release-0.93/tests/sites/ibicluster/catsn.0009.out.expected
===================================================================
--- branches/release-0.93/tests/sites/ibicluster/catsn.0009.out.expected (rev 0)
+++ branches/release-0.93/tests/sites/ibicluster/catsn.0009.out.expected 2011-12-23 17:51:41 UTC (rev 5462)
@@ -0,0 +1 @@
+blah blah
Added: branches/release-0.93/tests/sites/ibicluster/catsn.0010.out.expected
===================================================================
--- branches/release-0.93/tests/sites/ibicluster/catsn.0010.out.expected (rev 0)
+++ branches/release-0.93/tests/sites/ibicluster/catsn.0010.out.expected 2011-12-23 17:51:41 UTC (rev 5462)
@@ -0,0 +1 @@
+blah blah
Added: branches/release-0.93/tests/sites/ibicluster/catsn.check.sh
===================================================================
--- branches/release-0.93/tests/sites/ibicluster/catsn.check.sh (rev 0)
+++ branches/release-0.93/tests/sites/ibicluster/catsn.check.sh 2011-12-23 17:51:41 UTC (rev 5462)
@@ -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.93/tests/sites/ibicluster/catsn.check.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.93/tests/sites/ibicluster/catsn.setup.sh
===================================================================
--- branches/release-0.93/tests/sites/ibicluster/catsn.setup.sh (rev 0)
+++ branches/release-0.93/tests/sites/ibicluster/catsn.setup.sh 2011-12-23 17:51:41 UTC (rev 5462)
@@ -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: branches/release-0.93/tests/sites/ibicluster/catsn.setup.sh
___________________________________________________________________
Added: svn:executable
+ *
Added: branches/release-0.93/tests/sites/ibicluster/catsn.swift
===================================================================
--- branches/release-0.93/tests/sites/ibicluster/catsn.swift (rev 0)
+++ branches/release-0.93/tests/sites/ibicluster/catsn.swift 2011-12-23 17:51:41 UTC (rev 5462)
@@ -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: branches/release-0.93/tests/sites/ibicluster/catsn.timeout
===================================================================
--- branches/release-0.93/tests/sites/ibicluster/catsn.timeout (rev 0)
+++ branches/release-0.93/tests/sites/ibicluster/catsn.timeout 2011-12-23 17:51:41 UTC (rev 5462)
@@ -0,0 +1 @@
+1800
Added: branches/release-0.93/tests/sites/ibicluster/data.txt
===================================================================
--- branches/release-0.93/tests/sites/ibicluster/data.txt (rev 0)
+++ branches/release-0.93/tests/sites/ibicluster/data.txt 2011-12-23 17:51:41 UTC (rev 5462)
@@ -0,0 +1 @@
+blah blah
Added: branches/release-0.93/tests/sites/ibicluster/sites.template.xml
===================================================================
--- branches/release-0.93/tests/sites/ibicluster/sites.template.xml (rev 0)
+++ branches/release-0.93/tests/sites/ibicluster/sites.template.xml 2011-12-23 17:51:41 UTC (rev 5462)
@@ -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: branches/release-0.93/tests/sites/ibicluster/tc.template.data
===================================================================
--- branches/release-0.93/tests/sites/ibicluster/tc.template.data (rev 0)
+++ branches/release-0.93/tests/sites/ibicluster/tc.template.data 2011-12-23 17:51:41 UTC (rev 5462)
@@ -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: branches/release-0.93/tests/sites/ibicluster/title.txt
===================================================================
--- branches/release-0.93/tests/sites/ibicluster/title.txt (rev 0)
+++ branches/release-0.93/tests/sites/ibicluster/title.txt 2011-12-23 17:51:41 UTC (rev 5462)
@@ -0,0 +1 @@
+IBICluster SGE Test
More information about the Swift-commit
mailing list