[Swift-commit] r4879 - trunk/tests/providers/local-pbs-coasters
wozniak at ci.uchicago.edu
wozniak at ci.uchicago.edu
Fri Jul 29 16:49:34 CDT 2011
Author: wozniak
Date: 2011-07-29 16:49:34 -0500 (Fri, 29 Jul 2011)
New Revision: 4879
Added:
trunk/tests/providers/local-pbs-coasters/001-catsn.check.sh
trunk/tests/providers/local-pbs-coasters/001-catsn.setup.sh
trunk/tests/providers/local-pbs-coasters/001-catsn.swift
trunk/tests/providers/local-pbs-coasters/001-catsn.timeout
Removed:
trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.check.sh
trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.setup.sh
trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.swift
trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.timeout
Log:
Use shorter names
Deleted: trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.check.sh
===================================================================
--- trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.check.sh 2011-07-29 21:47:50 UTC (rev 4878)
+++ trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.check.sh 2011-07-29 21:49:34 UTC (rev 4879)
@@ -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: trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.setup.sh
===================================================================
--- trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.setup.sh 2011-07-29 21:47:50 UTC (rev 4878)
+++ trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.setup.sh 2011-07-29 21:49:34 UTC (rev 4879)
@@ -1,4 +0,0 @@
-#!/bin/bash
-
-cp -v $GROUP/data.txt . || exit 1
-cp -v $GROUP/*expected . || exit 1
Deleted: trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.swift
===================================================================
--- trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.swift 2011-07-29 21:47:50 UTC (rev 4878)
+++ trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.swift 2011-07-29 21:49:34 UTC (rev 4879)
@@ -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: trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.timeout
===================================================================
--- trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.timeout 2011-07-29 21:47:50 UTC (rev 4878)
+++ trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.timeout 2011-07-29 21:49:34 UTC (rev 4879)
@@ -1,2 +0,0 @@
-7200
-
Copied: trunk/tests/providers/local-pbs-coasters/001-catsn.check.sh (from rev 4875, trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.check.sh)
===================================================================
--- trunk/tests/providers/local-pbs-coasters/001-catsn.check.sh (rev 0)
+++ trunk/tests/providers/local-pbs-coasters/001-catsn.check.sh 2011-07-29 21:49:34 UTC (rev 4879)
@@ -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
Copied: trunk/tests/providers/local-pbs-coasters/001-catsn.setup.sh (from rev 4875, trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.setup.sh)
===================================================================
--- trunk/tests/providers/local-pbs-coasters/001-catsn.setup.sh (rev 0)
+++ trunk/tests/providers/local-pbs-coasters/001-catsn.setup.sh 2011-07-29 21:49:34 UTC (rev 4879)
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+cp -v $GROUP/data.txt . || exit 1
+cp -v $GROUP/*expected . || exit 1
Copied: trunk/tests/providers/local-pbs-coasters/001-catsn.swift (from rev 4875, trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.swift)
===================================================================
--- trunk/tests/providers/local-pbs-coasters/001-catsn.swift (rev 0)
+++ trunk/tests/providers/local-pbs-coasters/001-catsn.swift 2011-07-29 21:49:34 UTC (rev 4879)
@@ -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);
+}
Copied: trunk/tests/providers/local-pbs-coasters/001-catsn.timeout (from rev 4875, trunk/tests/providers/local-pbs-coasters/001-catsn-pads-local-pbs-coasters.timeout)
===================================================================
--- trunk/tests/providers/local-pbs-coasters/001-catsn.timeout (rev 0)
+++ trunk/tests/providers/local-pbs-coasters/001-catsn.timeout 2011-07-29 21:49:34 UTC (rev 4879)
@@ -0,0 +1,2 @@
+7200
+
More information about the Swift-commit
mailing list