Google 网上论坛不再支持新的 Usenet 帖子或订阅项。历史内容仍可供查看。

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

已查看 6 次
跳至第一个未读帖子

Andy Dougherty

未读,
2006年4月25日 11:54:232006/4/25
收件人 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

未读,
2006年4月25日 12:01:332006/4/25
收件人 perl6-i...@perl.org、bugs-bi...@netlabs.develooper.com
Thanks, applied as r12424.
0 个新帖子