[Swift-commit] r3841 - in branches/release-0.92/tests: groups providers/local-pbs providers/local-pbs/pads
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Tue Jan 4 19:15:43 CST 2011
Author: davidk
Date: 2011-01-04 19:15:43 -0600 (Tue, 04 Jan 2011)
New Revision: 3841
Added:
branches/release-0.92/tests/groups/group-pads.sh
branches/release-0.92/tests/providers/local-pbs/pads/
branches/release-0.92/tests/providers/local-pbs/pads/001-catsn-pads-pbs.check.sh
branches/release-0.92/tests/providers/local-pbs/pads/001-catsn-pads-pbs.swift
branches/release-0.92/tests/providers/local-pbs/pads/001-catsn-pads-pbs.timeout
branches/release-0.92/tests/providers/local-pbs/pads/catsn.0001.out.expected
branches/release-0.92/tests/providers/local-pbs/pads/catsn.0002.out.expected
branches/release-0.92/tests/providers/local-pbs/pads/catsn.0003.out.expected
branches/release-0.92/tests/providers/local-pbs/pads/catsn.0004.out.expected
branches/release-0.92/tests/providers/local-pbs/pads/catsn.0005.out.expected
branches/release-0.92/tests/providers/local-pbs/pads/catsn.0006.out.expected
branches/release-0.92/tests/providers/local-pbs/pads/catsn.0007.out.expected
branches/release-0.92/tests/providers/local-pbs/pads/catsn.0008.out.expected
branches/release-0.92/tests/providers/local-pbs/pads/catsn.0009.out.expected
branches/release-0.92/tests/providers/local-pbs/pads/catsn.0010.out.expected
branches/release-0.92/tests/providers/local-pbs/pads/data.txt
branches/release-0.92/tests/providers/local-pbs/pads/sites.template.xml
branches/release-0.92/tests/providers/local-pbs/pads/tc.template.data
branches/release-0.92/tests/providers/local-pbs/pads/title.txt
Removed:
branches/release-0.92/tests/providers/local-pbs/001-catsn-localpbs.check.sh
branches/release-0.92/tests/providers/local-pbs/001-catsn-localpbs.setup.sh
branches/release-0.92/tests/providers/local-pbs/001-catsn-localpbs.swift
branches/release-0.92/tests/providers/local-pbs/001-catsn-localpbs.timeout
branches/release-0.92/tests/providers/local-pbs/catsn.0001.out.expected
branches/release-0.92/tests/providers/local-pbs/catsn.0002.out.expected
branches/release-0.92/tests/providers/local-pbs/catsn.0003.out.expected
branches/release-0.92/tests/providers/local-pbs/catsn.0004.out.expected
branches/release-0.92/tests/providers/local-pbs/catsn.0005.out.expected
branches/release-0.92/tests/providers/local-pbs/catsn.0006.out.expected
branches/release-0.92/tests/providers/local-pbs/catsn.0007.out.expected
branches/release-0.92/tests/providers/local-pbs/catsn.0008.out.expected
branches/release-0.92/tests/providers/local-pbs/catsn.0009.out.expected
branches/release-0.92/tests/providers/local-pbs/catsn.0010.out.expected
branches/release-0.92/tests/providers/local-pbs/data.txt
branches/release-0.92/tests/providers/local-pbs/sites.template.xml
branches/release-0.92/tests/providers/local-pbs/tc.template.data
branches/release-0.92/tests/providers/local-pbs/title.txt
Log:
PADS tests
Added: branches/release-0.92/tests/groups/group-pads.sh
===================================================================
--- branches/release-0.92/tests/groups/group-pads.sh (rev 0)
+++ branches/release-0.92/tests/groups/group-pads.sh 2011-01-05 01:15:43 UTC (rev 3841)
@@ -0,0 +1,7 @@
+
+# GROUPLIST definition to run pbs tests
+
+GROUPLIST=(
+ $TESTDIR/providers/local \
+ $TESTDIR/providers/local-pbs/pads \
+)
Deleted: branches/release-0.92/tests/providers/local-pbs/001-catsn-localpbs.check.sh
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/001-catsn-localpbs.check.sh 2011-01-04 21:41:40 UTC (rev 3840)
+++ branches/release-0.92/tests/providers/local-pbs/001-catsn-localpbs.check.sh 2011-01-05 01:15:43 UTC (rev 3841)
@@ -1,12 +0,0 @@
-#!/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
Deleted: branches/release-0.92/tests/providers/local-pbs/001-catsn-localpbs.setup.sh
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/001-catsn-localpbs.setup.sh 2011-01-04 21:41:40 UTC (rev 3840)
+++ branches/release-0.92/tests/providers/local-pbs/001-catsn-localpbs.setup.sh 2011-01-05 01:15:43 UTC (rev 3841)
@@ -1,4 +0,0 @@
-#!/bin/bash
-
-cp -v $GROUP/data.txt . || exit 1
-cp -v $GROUP/*expected . || exit 1
Deleted: branches/release-0.92/tests/providers/local-pbs/001-catsn-localpbs.swift
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/001-catsn-localpbs.swift 2011-01-04 21:41:40 UTC (rev 3840)
+++ branches/release-0.92/tests/providers/local-pbs/001-catsn-localpbs.swift 2011-01-05 01:15:43 UTC (rev 3841)
@@ -1,15 +0,0 @@
-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);
-}
Deleted: branches/release-0.92/tests/providers/local-pbs/001-catsn-localpbs.timeout
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/001-catsn-localpbs.timeout 2011-01-04 21:41:40 UTC (rev 3840)
+++ branches/release-0.92/tests/providers/local-pbs/001-catsn-localpbs.timeout 2011-01-05 01:15:43 UTC (rev 3841)
@@ -1 +0,0 @@
-180
Deleted: branches/release-0.92/tests/providers/local-pbs/catsn.0001.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/catsn.0001.out.expected 2011-01-04 21:41:40 UTC (rev 3840)
+++ branches/release-0.92/tests/providers/local-pbs/catsn.0001.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -1 +0,0 @@
-Hello world
Deleted: branches/release-0.92/tests/providers/local-pbs/catsn.0002.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/catsn.0002.out.expected 2011-01-04 21:41:40 UTC (rev 3840)
+++ branches/release-0.92/tests/providers/local-pbs/catsn.0002.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -1 +0,0 @@
-Hello world
Deleted: branches/release-0.92/tests/providers/local-pbs/catsn.0003.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/catsn.0003.out.expected 2011-01-04 21:41:40 UTC (rev 3840)
+++ branches/release-0.92/tests/providers/local-pbs/catsn.0003.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -1 +0,0 @@
-Hello world
Deleted: branches/release-0.92/tests/providers/local-pbs/catsn.0004.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/catsn.0004.out.expected 2011-01-04 21:41:40 UTC (rev 3840)
+++ branches/release-0.92/tests/providers/local-pbs/catsn.0004.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -1 +0,0 @@
-Hello world
Deleted: branches/release-0.92/tests/providers/local-pbs/catsn.0005.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/catsn.0005.out.expected 2011-01-04 21:41:40 UTC (rev 3840)
+++ branches/release-0.92/tests/providers/local-pbs/catsn.0005.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -1 +0,0 @@
-Hello world
Deleted: branches/release-0.92/tests/providers/local-pbs/catsn.0006.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/catsn.0006.out.expected 2011-01-04 21:41:40 UTC (rev 3840)
+++ branches/release-0.92/tests/providers/local-pbs/catsn.0006.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -1 +0,0 @@
-Hello world
Deleted: branches/release-0.92/tests/providers/local-pbs/catsn.0007.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/catsn.0007.out.expected 2011-01-04 21:41:40 UTC (rev 3840)
+++ branches/release-0.92/tests/providers/local-pbs/catsn.0007.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -1 +0,0 @@
-Hello world
Deleted: branches/release-0.92/tests/providers/local-pbs/catsn.0008.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/catsn.0008.out.expected 2011-01-04 21:41:40 UTC (rev 3840)
+++ branches/release-0.92/tests/providers/local-pbs/catsn.0008.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -1 +0,0 @@
-Hello world
Deleted: branches/release-0.92/tests/providers/local-pbs/catsn.0009.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/catsn.0009.out.expected 2011-01-04 21:41:40 UTC (rev 3840)
+++ branches/release-0.92/tests/providers/local-pbs/catsn.0009.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -1 +0,0 @@
-Hello world
Deleted: branches/release-0.92/tests/providers/local-pbs/catsn.0010.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/catsn.0010.out.expected 2011-01-04 21:41:40 UTC (rev 3840)
+++ branches/release-0.92/tests/providers/local-pbs/catsn.0010.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -1 +0,0 @@
-Hello world
Deleted: branches/release-0.92/tests/providers/local-pbs/data.txt
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/data.txt 2011-01-04 21:41:40 UTC (rev 3840)
+++ branches/release-0.92/tests/providers/local-pbs/data.txt 2011-01-05 01:15:43 UTC (rev 3841)
@@ -1 +0,0 @@
-Hello world
Added: branches/release-0.92/tests/providers/local-pbs/pads/001-catsn-pads-pbs.check.sh
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/pads/001-catsn-pads-pbs.check.sh (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/pads/001-catsn-pads-pbs.check.sh 2011-01-05 01:15:43 UTC (rev 3841)
@@ -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/pads/001-catsn-pads-pbs.check.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: branches/release-0.92/tests/providers/local-pbs/pads/001-catsn-pads-pbs.swift
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/pads/001-catsn-pads-pbs.swift (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/pads/001-catsn-pads-pbs.swift 2011-01-05 01:15:43 UTC (rev 3841)
@@ -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/pads/001-catsn-pads-pbs.timeout
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/pads/001-catsn-pads-pbs.timeout (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/pads/001-catsn-pads-pbs.timeout 2011-01-05 01:15:43 UTC (rev 3841)
@@ -0,0 +1 @@
+180
Added: branches/release-0.92/tests/providers/local-pbs/pads/catsn.0001.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/pads/catsn.0001.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/pads/catsn.0001.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-pbs/pads/catsn.0002.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/pads/catsn.0002.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/pads/catsn.0002.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-pbs/pads/catsn.0003.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/pads/catsn.0003.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/pads/catsn.0003.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-pbs/pads/catsn.0004.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/pads/catsn.0004.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/pads/catsn.0004.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-pbs/pads/catsn.0005.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/pads/catsn.0005.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/pads/catsn.0005.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-pbs/pads/catsn.0006.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/pads/catsn.0006.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/pads/catsn.0006.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-pbs/pads/catsn.0007.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/pads/catsn.0007.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/pads/catsn.0007.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-pbs/pads/catsn.0008.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/pads/catsn.0008.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/pads/catsn.0008.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-pbs/pads/catsn.0009.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/pads/catsn.0009.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/pads/catsn.0009.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-pbs/pads/catsn.0010.out.expected
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/pads/catsn.0010.out.expected (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/pads/catsn.0010.out.expected 2011-01-05 01:15:43 UTC (rev 3841)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-pbs/pads/data.txt
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/pads/data.txt (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/pads/data.txt 2011-01-05 01:15:43 UTC (rev 3841)
@@ -0,0 +1 @@
+Hello world
Added: branches/release-0.92/tests/providers/local-pbs/pads/sites.template.xml
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/pads/sites.template.xml (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/pads/sites.template.xml 2011-01-05 01:15:43 UTC (rev 3841)
@@ -0,0 +1,8 @@
+<config>
+<pool handle="pads-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/pads/tc.template.data
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/pads/tc.template.data (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/pads/tc.template.data 2011-01-05 01:15:43 UTC (rev 3841)
@@ -0,0 +1,8 @@
+pads-pbs echo /bin/echo INSTALLED INTEL32::LINUX
+pads-pbs cat /bin/cat INSTALLED INTEL32::LINUX
+pads-pbs ls /bin/ls INSTALLED INTEL32::LINUX
+pads-pbs grep /bin/grep INSTALLED INTEL32::LINUX
+pads-pbs sort /bin/sort INSTALLED INTEL32::LINUX
+pads-pbs paste /bin/paste INSTALLED INTEL32::LINUX
+pads-pbs wc /usr/bin/wc INSTALLED INTEL32::LINUX
+
Added: branches/release-0.92/tests/providers/local-pbs/pads/title.txt
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/pads/title.txt (rev 0)
+++ branches/release-0.92/tests/providers/local-pbs/pads/title.txt 2011-01-05 01:15:43 UTC (rev 3841)
@@ -0,0 +1 @@
+Pads PBS Configuration Test
Deleted: branches/release-0.92/tests/providers/local-pbs/sites.template.xml
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/sites.template.xml 2011-01-04 21:41:40 UTC (rev 3840)
+++ branches/release-0.92/tests/providers/local-pbs/sites.template.xml 2011-01-05 01:15:43 UTC (rev 3841)
@@ -1,8 +0,0 @@
-<config>
-<pool handle="local-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>
Deleted: branches/release-0.92/tests/providers/local-pbs/tc.template.data
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/tc.template.data 2011-01-04 21:41:40 UTC (rev 3840)
+++ branches/release-0.92/tests/providers/local-pbs/tc.template.data 2011-01-05 01:15:43 UTC (rev 3841)
@@ -1,8 +0,0 @@
-local-pbs echo /bin/echo INSTALLED INTEL32::LINUX
-local-pbs cat /bin/cat INSTALLED INTEL32::LINUX
-local-pbs ls /bin/ls INSTALLED INTEL32::LINUX
-local-pbs grep /bin/grep INSTALLED INTEL32::LINUX
-local-pbs sort /bin/sort INSTALLED INTEL32::LINUX
-local-pbs paste /bin/paste INSTALLED INTEL32::LINUX
-local-pbs wc /usr/bin/wc INSTALLED INTEL32::LINUX
-
Deleted: branches/release-0.92/tests/providers/local-pbs/title.txt
===================================================================
--- branches/release-0.92/tests/providers/local-pbs/title.txt 2011-01-04 21:41:40 UTC (rev 3840)
+++ branches/release-0.92/tests/providers/local-pbs/title.txt 2011-01-05 01:15:43 UTC (rev 3841)
@@ -1 +0,0 @@
-Local PBS Configuration Test
More information about the Swift-commit
mailing list