[Swift-commit] r4342 - trunk/tests/providers/local-pbs/beagle
wozniak at ci.uchicago.edu
wozniak at ci.uchicago.edu
Tue Apr 12 13:27:19 CDT 2011
Author: wozniak
Date: 2011-04-12 13:27:19 -0500 (Tue, 12 Apr 2011)
New Revision: 4342
Added:
trunk/tests/providers/local-pbs/beagle/001-catsn.check.sh
trunk/tests/providers/local-pbs/beagle/001-catsn.setup.sh
trunk/tests/providers/local-pbs/beagle/001-catsn.swift
trunk/tests/providers/local-pbs/beagle/001-catsn.timeout
trunk/tests/providers/local-pbs/beagle/catsn.0001.out.expected
trunk/tests/providers/local-pbs/beagle/catsn.0002.out.expected
trunk/tests/providers/local-pbs/beagle/catsn.0003.out.expected
trunk/tests/providers/local-pbs/beagle/catsn.0004.out.expected
trunk/tests/providers/local-pbs/beagle/catsn.0005.out.expected
trunk/tests/providers/local-pbs/beagle/catsn.0006.out.expected
trunk/tests/providers/local-pbs/beagle/catsn.0007.out.expected
trunk/tests/providers/local-pbs/beagle/catsn.0008.out.expected
trunk/tests/providers/local-pbs/beagle/catsn.0009.out.expected
trunk/tests/providers/local-pbs/beagle/catsn.0010.out.expected
trunk/tests/providers/local-pbs/beagle/data.txt
Modified:
trunk/tests/providers/local-pbs/beagle/tc.template.data
Log:
Complete this test with application from PADS
Added: trunk/tests/providers/local-pbs/beagle/001-catsn.check.sh
===================================================================
--- trunk/tests/providers/local-pbs/beagle/001-catsn.check.sh (rev 0)
+++ trunk/tests/providers/local-pbs/beagle/001-catsn.check.sh 2011-04-12 18:27:19 UTC (rev 4342)
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# Pseudo-code for now
+
+# for f in *.out.expected
+# do
+# assert *.out exists
+# assert *.out.expected == *.out
+# done
Property changes on: trunk/tests/providers/local-pbs/beagle/001-catsn.check.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/tests/providers/local-pbs/beagle/001-catsn.setup.sh
===================================================================
--- trunk/tests/providers/local-pbs/beagle/001-catsn.setup.sh (rev 0)
+++ trunk/tests/providers/local-pbs/beagle/001-catsn.setup.sh 2011-04-12 18:27:19 UTC (rev 4342)
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cp -v $GROUP/data.txt . || exit 1
+cp -v $GROUP/*expected . || exit 1
Property changes on: trunk/tests/providers/local-pbs/beagle/001-catsn.setup.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/tests/providers/local-pbs/beagle/001-catsn.swift
===================================================================
--- trunk/tests/providers/local-pbs/beagle/001-catsn.swift (rev 0)
+++ trunk/tests/providers/local-pbs/beagle/001-catsn.swift 2011-04-12 18:27:19 UTC (rev 4342)
@@ -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: trunk/tests/providers/local-pbs/beagle/001-catsn.timeout
===================================================================
--- trunk/tests/providers/local-pbs/beagle/001-catsn.timeout (rev 0)
+++ trunk/tests/providers/local-pbs/beagle/001-catsn.timeout 2011-04-12 18:27:19 UTC (rev 4342)
@@ -0,0 +1 @@
+180
Added: trunk/tests/providers/local-pbs/beagle/catsn.0001.out.expected
===================================================================
--- trunk/tests/providers/local-pbs/beagle/catsn.0001.out.expected (rev 0)
+++ trunk/tests/providers/local-pbs/beagle/catsn.0001.out.expected 2011-04-12 18:27:19 UTC (rev 4342)
@@ -0,0 +1 @@
+Hello world
Added: trunk/tests/providers/local-pbs/beagle/catsn.0002.out.expected
===================================================================
--- trunk/tests/providers/local-pbs/beagle/catsn.0002.out.expected (rev 0)
+++ trunk/tests/providers/local-pbs/beagle/catsn.0002.out.expected 2011-04-12 18:27:19 UTC (rev 4342)
@@ -0,0 +1 @@
+Hello world
Added: trunk/tests/providers/local-pbs/beagle/catsn.0003.out.expected
===================================================================
--- trunk/tests/providers/local-pbs/beagle/catsn.0003.out.expected (rev 0)
+++ trunk/tests/providers/local-pbs/beagle/catsn.0003.out.expected 2011-04-12 18:27:19 UTC (rev 4342)
@@ -0,0 +1 @@
+Hello world
Added: trunk/tests/providers/local-pbs/beagle/catsn.0004.out.expected
===================================================================
--- trunk/tests/providers/local-pbs/beagle/catsn.0004.out.expected (rev 0)
+++ trunk/tests/providers/local-pbs/beagle/catsn.0004.out.expected 2011-04-12 18:27:19 UTC (rev 4342)
@@ -0,0 +1 @@
+Hello world
Added: trunk/tests/providers/local-pbs/beagle/catsn.0005.out.expected
===================================================================
--- trunk/tests/providers/local-pbs/beagle/catsn.0005.out.expected (rev 0)
+++ trunk/tests/providers/local-pbs/beagle/catsn.0005.out.expected 2011-04-12 18:27:19 UTC (rev 4342)
@@ -0,0 +1 @@
+Hello world
Added: trunk/tests/providers/local-pbs/beagle/catsn.0006.out.expected
===================================================================
--- trunk/tests/providers/local-pbs/beagle/catsn.0006.out.expected (rev 0)
+++ trunk/tests/providers/local-pbs/beagle/catsn.0006.out.expected 2011-04-12 18:27:19 UTC (rev 4342)
@@ -0,0 +1 @@
+Hello world
Added: trunk/tests/providers/local-pbs/beagle/catsn.0007.out.expected
===================================================================
--- trunk/tests/providers/local-pbs/beagle/catsn.0007.out.expected (rev 0)
+++ trunk/tests/providers/local-pbs/beagle/catsn.0007.out.expected 2011-04-12 18:27:19 UTC (rev 4342)
@@ -0,0 +1 @@
+Hello world
Added: trunk/tests/providers/local-pbs/beagle/catsn.0008.out.expected
===================================================================
--- trunk/tests/providers/local-pbs/beagle/catsn.0008.out.expected (rev 0)
+++ trunk/tests/providers/local-pbs/beagle/catsn.0008.out.expected 2011-04-12 18:27:19 UTC (rev 4342)
@@ -0,0 +1 @@
+Hello world
Added: trunk/tests/providers/local-pbs/beagle/catsn.0009.out.expected
===================================================================
--- trunk/tests/providers/local-pbs/beagle/catsn.0009.out.expected (rev 0)
+++ trunk/tests/providers/local-pbs/beagle/catsn.0009.out.expected 2011-04-12 18:27:19 UTC (rev 4342)
@@ -0,0 +1 @@
+Hello world
Added: trunk/tests/providers/local-pbs/beagle/catsn.0010.out.expected
===================================================================
--- trunk/tests/providers/local-pbs/beagle/catsn.0010.out.expected (rev 0)
+++ trunk/tests/providers/local-pbs/beagle/catsn.0010.out.expected 2011-04-12 18:27:19 UTC (rev 4342)
@@ -0,0 +1 @@
+Hello world
Added: trunk/tests/providers/local-pbs/beagle/data.txt
===================================================================
--- trunk/tests/providers/local-pbs/beagle/data.txt (rev 0)
+++ trunk/tests/providers/local-pbs/beagle/data.txt 2011-04-12 18:27:19 UTC (rev 4342)
@@ -0,0 +1 @@
+Hello world
Modified: trunk/tests/providers/local-pbs/beagle/tc.template.data
===================================================================
--- trunk/tests/providers/local-pbs/beagle/tc.template.data 2011-04-12 16:40:10 UTC (rev 4341)
+++ trunk/tests/providers/local-pbs/beagle/tc.template.data 2011-04-12 18:27:19 UTC (rev 4342)
@@ -1 +1,7 @@
beagle-pbs echo /bin/echo INSTALLED INTEL32::LINUX
+beagle-pbs cat /bin/cat INSTALLED INTEL32::LINUX
+beagle-pbs ls /bin/ls INSTALLED INTEL32::LINUX
+beagle-pbs grep /bin/grep INSTALLED INTEL32::LINUX
+beagle-pbs sort /bin/sort INSTALLED INTEL32::LINUX
+beagle-pbs paste /bin/paste INSTALLED INTEL32::LINUX
+beagle-pbs wc /usr/bin/wc INSTALLED INTEL32::LINUX
More information about the Swift-commit
mailing list