[Swift-commit] r3847 - in branches/release-0.92/tests: groups providers/local-pbs providers/local-pbs/queenbee

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Wed Jan 5 11:16:08 CST 2011


Author: davidk
Date: 2011-01-05 11:16:07 -0600 (Wed, 05 Jan 2011)
New Revision: 3847

Added:
   branches/release-0.92/tests/groups/group-queenbee.sh
   branches/release-0.92/tests/providers/local-pbs/queenbee/
   branches/release-0.92/tests/providers/local-pbs/queenbee/001-catsn-queenbee-pbs.check.sh
   branches/release-0.92/tests/providers/local-pbs/queenbee/001-catsn-queenbee-pbs.swift
   branches/release-0.92/tests/providers/local-pbs/queenbee/001-catsn-queenbee-pbs.timeout
   branches/release-0.92/tests/providers/local-pbs/queenbee/README
   branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0001.out.expected
   branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0002.out.expected
   branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0003.out.expected
   branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0004.out.expected
   branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0005.out.expected
   branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0006.out.expected
   branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0007.out.expected
   branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0008.out.expected
   branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0009.out.expected
   branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0010.out.expected
   branches/release-0.92/tests/providers/local-pbs/queenbee/data.txt
   branches/release-0.92/tests/providers/local-pbs/queenbee/sites.template.xml
   branches/release-0.92/tests/providers/local-pbs/queenbee/tc.template.data
   branches/release-0.92/tests/providers/local-pbs/queenbee/title.txt
Log:
Queenbee pbs tests


Added: branches/release-0.92/tests/groups/group-queenbee.sh
===================================================================
--- branches/release-0.92/tests/groups/group-queenbee.sh	                        (rev 0)
+++ branches/release-0.92/tests/groups/group-queenbee.sh	2011-01-05 17:16:07 UTC (rev 3847)
@@ -0,0 +1,6 @@
+# GROUPLIST definition to run queenbee tests
+
+GROUPLIST=( 	    
+	    $TESTDIR/providers/local \
+	    $TESTDIR/providers/local-pbs/queenbee \
+)

Added: branches/release-0.92/tests/providers/local-pbs/queenbee/001-catsn-queenbee-pbs.check.sh
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/queenbee/001-catsn-queenbee-pbs.check.sh	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/queenbee/001-catsn-queenbee-pbs.check.sh	2011-01-05 17:16:07 UTC (rev 3847)
@@ -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-pbs/queenbee/001-catsn-queenbee-pbs.check.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: branches/release-0.92/tests/providers/local-pbs/queenbee/001-catsn-queenbee-pbs.swift
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/queenbee/001-catsn-queenbee-pbs.swift	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/queenbee/001-catsn-queenbee-pbs.swift	2011-01-05 17:16:07 UTC (rev 3847)
@@ -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-pbs/queenbee/001-catsn-queenbee-pbs.timeout
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/queenbee/001-catsn-queenbee-pbs.timeout	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/queenbee/001-catsn-queenbee-pbs.timeout	2011-01-05 17:16:07 UTC (rev 3847)
@@ -0,0 +1 @@
+180

Added: branches/release-0.92/tests/providers/local-pbs/queenbee/README
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/queenbee/README	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/queenbee/README	2011-01-05 17:16:07 UTC (rev 3847)
@@ -0,0 +1,2 @@
+Queenbee uses an older version of bash which does not work with the nightly.sh by default
+In order to run these tests, download and compile a newer version of bash from ftp.gnu.org/pub/bash

Added: branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0001.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0001.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0001.out.expected	2011-01-05 17:16:07 UTC (rev 3847)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0002.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0002.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0002.out.expected	2011-01-05 17:16:07 UTC (rev 3847)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0003.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0003.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0003.out.expected	2011-01-05 17:16:07 UTC (rev 3847)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0004.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0004.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0004.out.expected	2011-01-05 17:16:07 UTC (rev 3847)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0005.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0005.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0005.out.expected	2011-01-05 17:16:07 UTC (rev 3847)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0006.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0006.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0006.out.expected	2011-01-05 17:16:07 UTC (rev 3847)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0007.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0007.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0007.out.expected	2011-01-05 17:16:07 UTC (rev 3847)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0008.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0008.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0008.out.expected	2011-01-05 17:16:07 UTC (rev 3847)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0009.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0009.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0009.out.expected	2011-01-05 17:16:07 UTC (rev 3847)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0010.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0010.out.expected	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/queenbee/catsn.0010.out.expected	2011-01-05 17:16:07 UTC (rev 3847)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-pbs/queenbee/data.txt
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/queenbee/data.txt	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/queenbee/data.txt	2011-01-05 17:16:07 UTC (rev 3847)
@@ -0,0 +1 @@
+Hello world

Added: branches/release-0.92/tests/providers/local-pbs/queenbee/sites.template.xml
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/queenbee/sites.template.xml	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/queenbee/sites.template.xml	2011-01-05 17:16:07 UTC (rev 3847)
@@ -0,0 +1,8 @@
+<config>
+<pool handle="queenbee-pbs">
+  <execution jobmanager="local:pbs" provider="local" url="none" />
+  <filesystem provider="local" url="none" />
+  <profile key="jobThrottle" namespace="karajan">0</profile>
+  <workdirectory>_WORK_</workdirectory>
+</pool>
+</config>

Added: branches/release-0.92/tests/providers/local-pbs/queenbee/tc.template.data
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/queenbee/tc.template.data	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/queenbee/tc.template.data	2011-01-05 17:16:07 UTC (rev 3847)
@@ -0,0 +1,7 @@
+queenbee-pbs 	echo 		/bin/echo	INSTALLED	INTEL32::LINUX
+queenbee-pbs 	cat 		/bin/cat	INSTALLED	INTEL32::LINUX
+queenbee-pbs 	ls 		/bin/ls		INSTALLED	INTEL32::LINUX
+queenbee-pbs 	grep 		/bin/grep	INSTALLED	INTEL32::LINUX
+queenbee-pbs 	sort 		/bin/sort	INSTALLED	INTEL32::LINUX
+queenbee-pbs 	paste 		/bin/paste	INSTALLED	INTEL32::LINUX
+queenbee-pbs	wc		/usr/bin/wc	INSTALLED	INTEL32::LINUX

Added: branches/release-0.92/tests/providers/local-pbs/queenbee/title.txt
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/queenbee/title.txt	                        (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/queenbee/title.txt	2011-01-05 17:16:07 UTC (rev 3847)
@@ -0,0 +1 @@
+QueenBee PBS Configuration Test




More information about the Swift-commit mailing list