Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #38979] [PATCH] Explictly close file in t/pmc/mmd.t

4 views
Skip to first unread message

Andy Dougherty

unread,
Apr 25, 2006, 11:54:23 AM4/25/06
to bugs-bi...@rt.perl.org
# New Ticket Created by Andy Dougherty
# Please include the string: [perl #38979]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38979 >


For quite some time, I've been getting the following error in
t/pmc/mmd.t:

t/pmc/mmd............................
# Failed test (t/pmc/mmd.t at line 915)
# got: 'error:imcc:syntax error, unexpected $end

The problem was simply that the mmd.t script forgot to close the temporary
file (thereby flushing the pending writes). This patch fixes it.

--- parrot-current/t/pmc/mmd.t Wed Mar 15 11:15:05 2006
+++ parrot-andy/t/pmc/mmd.t Tue Apr 25 11:39:54 2006
@@ -911,6 +911,7 @@
.return($P0)
.end
EOF
+close P;

pir_output_is(<<'CODE', <<'OUTPUT', "override builtin n_add");
.sub main

--
Andy Dougherty doug...@lafayette.edu

Will Coleda

unread,
Apr 25, 2006, 12:01:33 PM4/25/06
to perl6-i...@perl.org, bugs-bi...@netlabs.develooper.com
Thanks, applied as r12424.
0 new messages