Google Gruplar, artık yeni Usenet gönderilerini veya aboneliklerini desteklememektedir. Geçmişteki içerikler görüntülenebilir kalmaya devam edecek.

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

5 görüntüleme
İlk okunmamış mesaja atla

Andy Dougherty

okunmadı,
25 Nis 2006 11:54:2325.04.2006
alıcı 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

okunmadı,
25 Nis 2006 12:01:3325.04.2006
alıcı perl6-i...@perl.org, bugs-bi...@netlabs.develooper.com
Thanks, applied as r12424.
0 yeni ileti