[Swift-commit] r4997 - branches/release-0.93/tests/language/working
davidk at ci.uchicago.edu
davidk at ci.uchicago.edu
Wed Aug 24 01:34:12 CDT 2011
Author: davidk
Date: 2011-08-24 01:34:12 -0500 (Wed, 24 Aug 2011)
New Revision: 4997
Added:
branches/release-0.93/tests/language/working/063-filename_extraction.in
branches/release-0.93/tests/language/working/063-filename_extraction.out.expected
branches/release-0.93/tests/language/working/063-filename_extraction.swift
Log:
Adding test for filename extraction - bug #141
Added: branches/release-0.93/tests/language/working/063-filename_extraction.in
===================================================================
--- branches/release-0.93/tests/language/working/063-filename_extraction.in (rev 0)
+++ branches/release-0.93/tests/language/working/063-filename_extraction.in 2011-08-24 06:34:12 UTC (rev 4997)
@@ -0,0 +1 @@
+testing swift filename extraction
Added: branches/release-0.93/tests/language/working/063-filename_extraction.out.expected
===================================================================
--- branches/release-0.93/tests/language/working/063-filename_extraction.out.expected (rev 0)
+++ branches/release-0.93/tests/language/working/063-filename_extraction.out.expected 2011-08-24 06:34:12 UTC (rev 4997)
@@ -0,0 +1 @@
+testing swift filename extraction
Added: branches/release-0.93/tests/language/working/063-filename_extraction.swift
===================================================================
--- branches/release-0.93/tests/language/working/063-filename_extraction.swift (rev 0)
+++ branches/release-0.93/tests/language/working/063-filename_extraction.swift 2011-08-24 06:34:12 UTC (rev 4997)
@@ -0,0 +1,10 @@
+type logfile;
+
+app (logfile fout) cat(logfile fin) {
+ cat stdin=@fin stdout=@fout;
+}
+
+logfile infile <"063-filename_extraction.in">;
+logfile outfile <"063-filename_extraction.out">;
+
+outfile = cat(infile);
More information about the Swift-commit
mailing list