[svn:parrot] r47267 - branches/gc_massacre_no_constant/t/pmc

bacek at svn.parrot.org bacek at svn.parrot.org
Tue Jun 1 20:57:17 UTC 2010


Author: bacek
Date: Tue Jun  1 20:57:17 2010
New Revision: 47267
URL: https://trac.parrot.org/parrot/changeset/47267

Log:
Fix test.

Modified:
   branches/gc_massacre_no_constant/t/pmc/eval.t

Modified: branches/gc_massacre_no_constant/t/pmc/eval.t
==============================================================================
--- branches/gc_massacre_no_constant/t/pmc/eval.t	Tue Jun  1 20:56:37 2010	(r47266)
+++ branches/gc_massacre_no_constant/t/pmc/eval.t	Tue Jun  1 20:57:17 2010	(r47267)
@@ -422,6 +422,7 @@
 OUTPUT
 
 pir_output_is( <<"CODE", <<'OUTPUT', "eval.freeze+thaw" );
+.loadlib 'io_ops'
 .sub main :main
   .local pmc f, e
   .local pmc io
@@ -466,6 +467,7 @@
     file = "$temp_file"
     .include "stat.pasm"
     size = stat file, .STAT_FILESIZE
+    io = new ['FileHandle']
     io.'open'(file, 'r')
     \$S0 = read io, size
     io.'close'()


More information about the parrot-commits mailing list