[Swift-commit] r2169 - trunk/tests/language-behaviour

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Fri Aug 1 13:47:55 CDT 2008


Author: benc
Date: 2008-08-01 13:47:53 -0500 (Fri, 01 Aug 2008)
New Revision: 2169

Added:
   trunk/tests/language-behaviour/07551-ext-mapper-single.out.expected
   trunk/tests/language-behaviour/07551-ext-mapper-single.sh
   trunk/tests/language-behaviour/07551-ext-mapper-single.swift
Log:
test of external mapper mapping a single filename

Added: trunk/tests/language-behaviour/07551-ext-mapper-single.out.expected
===================================================================
--- trunk/tests/language-behaviour/07551-ext-mapper-single.out.expected	                        (rev 0)
+++ trunk/tests/language-behaviour/07551-ext-mapper-single.out.expected	2008-08-01 18:47:53 UTC (rev 2169)
@@ -0,0 +1 @@
+slot 0

Added: trunk/tests/language-behaviour/07551-ext-mapper-single.sh
===================================================================
--- trunk/tests/language-behaviour/07551-ext-mapper-single.sh	                        (rev 0)
+++ trunk/tests/language-behaviour/07551-ext-mapper-single.sh	2008-08-01 18:47:53 UTC (rev 2169)
@@ -0,0 +1,2 @@
+#!/bin/bash
+echo "$ 07551-ext-mapper-single.out"


Property changes on: trunk/tests/language-behaviour/07551-ext-mapper-single.sh
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/tests/language-behaviour/07551-ext-mapper-single.swift
===================================================================
--- trunk/tests/language-behaviour/07551-ext-mapper-single.swift	                        (rev 0)
+++ trunk/tests/language-behaviour/07551-ext-mapper-single.swift	2008-08-01 18:47:53 UTC (rev 2169)
@@ -0,0 +1,12 @@
+type messagefile;
+
+(messagefile t) write(string s) { 
+    app {
+        echo s stdout=@filename(t);
+    }
+}
+
+messagefile outfile <ext; exec="./07551-ext-mapper-single.sh">;
+
+outfile = write("slot 0");
+




More information about the Swift-commit mailing list