[svn:parrot] r39440 - branches/io_rewiring/t/op

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Sun Jun 7 01:31:21 UTC 2009


Author: whiteknight
Date: Sun Jun  7 01:31:21 2009
New Revision: 39440
URL: https://trac.parrot.org/parrot/changeset/39440

Log:
[io_rewiring] the second test in t/op/interp.t looks bogus to me. It was trying to readline from stdout. Previous IO implementation didn't check that the handle was readable, and would fail silently. The new implementation throws an exception if we try to read from a non-readable pmc.

Modified:
   branches/io_rewiring/t/op/interp.t

Modified: branches/io_rewiring/t/op/interp.t
==============================================================================
--- branches/io_rewiring/t/op/interp.t	Sun Jun  7 01:29:40 2009	(r39439)
+++ branches/io_rewiring/t/op/interp.t	Sun Jun  7 01:31:21 2009	(r39440)
@@ -56,13 +56,6 @@
     print "uno\n"
     runinterp test_interp, pasm
     print "dos\n"
-
-  get_stdout:
-    $S0 = readline stdout
-    actual .= $S0
-    if $S0 goto get_stdout
-
-    print actual
     goto pasm_end
 
   pasm:


More information about the parrot-commits mailing list