fix tests

This commit is contained in:
Raghubansh Kumar 2007-10-09 04:52:47 +00:00
parent d5192b04a4
commit 87ebc71b60
27 changed files with 54 additions and 54 deletions

View File

@ -42,7 +42,7 @@ unlink(dirname(__FILE__)."/007_variation1.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'r' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
string(20) "line
@ -54,7 +54,7 @@ string(7) "Unknown"
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'r' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)
string(20) "line

View File

@ -44,7 +44,7 @@ unlink(dirname(__FILE__)."/007_variation10.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'r+t' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
string(20) "line
@ -58,7 +58,7 @@ string(7) "Unknown"
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'r+t' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)
unicode(20) "line

View File

@ -61,7 +61,7 @@ unlink(dirname(__FILE__)."/007_variation11.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'wt' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
@ -76,7 +76,7 @@ bool(true)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'wt' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)
int(37)

View File

@ -61,7 +61,7 @@ unlink(dirname(__FILE__)."/007_variation11.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'wt' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
@ -76,7 +76,7 @@ bool(true)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'wt' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)
int(37)

View File

@ -61,7 +61,7 @@ unlink(dirname(__FILE__)."/007_variation12.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'w+t' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
@ -78,7 +78,7 @@ bool(true)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'w+t' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)
int(37)

View File

@ -61,7 +61,7 @@ unlink(dirname(__FILE__)."/007_variation12.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'w+t' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
@ -78,7 +78,7 @@ bool(true)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'w+t' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)
int(37)

View File

@ -53,7 +53,7 @@ unlink(dirname(__FILE__)."/007_variation13.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'at' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(37)
bool(false)
@ -65,7 +65,7 @@ bool(true)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'at' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(37)
bool(false)

View File

@ -53,7 +53,7 @@ unlink(dirname(__FILE__)."/007_variation13.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'at' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(37)
bool(false)
@ -65,7 +65,7 @@ bool(true)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'at' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(37)
bool(false)

View File

@ -47,7 +47,7 @@ unlink(dirname(__FILE__)."/007_variation14.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'a+t' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(37)
string(57) "line
@ -62,7 +62,7 @@ bool(true)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'a+t' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(37)
unicode(57) "line

View File

@ -44,7 +44,7 @@ unlink(dirname(__FILE__)."/007_variation15.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'xt' mode ***
resource(5) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
@ -58,7 +58,7 @@ Warning: fopen(%s): failed to open stream: File exists in %s on line %d
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'xt' mode ***
resource(5) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)

View File

@ -44,7 +44,7 @@ unlink(dirname(__FILE__)."/007_variation16.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'x+t' mode ***
resource(5) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
@ -60,7 +60,7 @@ Warning: fopen(%s): failed to open stream: File exists in %s on line %d
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'x+t' mode ***
resource(5) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)
int(37)

View File

@ -42,7 +42,7 @@ unlink(dirname(__FILE__)."/007_variation17.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'rb' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
string(20) "line
@ -54,7 +54,7 @@ string(7) "Unknown"
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'rb' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)
string(20) "line

View File

@ -44,7 +44,7 @@ unlink(dirname(__FILE__)."/007_variation18.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'r+b' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
string(20) "line
@ -58,7 +58,7 @@ string(7) "Unknown"
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'r+b' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)
string(20) "line

View File

@ -56,7 +56,7 @@ unlink(dirname(__FILE__)."/007_variation19.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'wb' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
@ -71,7 +71,7 @@ bool(true)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'wb' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)

View File

@ -44,7 +44,7 @@ unlink(dirname(__FILE__)."/007_variation2.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'r+' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
string(20) "line
@ -58,7 +58,7 @@ string(7) "Unknown"
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'r+' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)
string(20) "line

View File

@ -56,7 +56,7 @@ unlink(dirname(__FILE__)."/007_variation20.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'w+b' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
@ -73,7 +73,7 @@ bool(true)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'w+b' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)

View File

@ -48,7 +48,7 @@ unlink(dirname(__FILE__)."/007_variation21.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'ab' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(37)
bool(false)
@ -60,7 +60,7 @@ bool(true)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'ab' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d

View File

@ -47,7 +47,7 @@ unlink(dirname(__FILE__)."/007_variation22.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'a+b' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(37)
string(57) "line
@ -62,7 +62,7 @@ bool(true)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'a+b' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d

View File

@ -44,7 +44,7 @@ unlink(dirname(__FILE__)."/007_variation23.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'xb' mode ***
resource(5) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
@ -58,7 +58,7 @@ Warning: fopen(%s): failed to open stream: File exists in %s on line %d
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'xb' mode ***
resource(5) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)

View File

@ -44,7 +44,7 @@ unlink(dirname(__FILE__)."/007_variation24.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'x+b' mode ***
resource(5) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
@ -60,7 +60,7 @@ Warning: fopen(%s): failed to open stream: File exists in %s on line %d
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'x+b' mode ***
resource(5) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)

View File

@ -56,7 +56,7 @@ unlink(dirname(__FILE__)."/007_variation3.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'w' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
@ -71,7 +71,7 @@ bool(true)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'w' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)

View File

@ -56,7 +56,7 @@ unlink(dirname(__FILE__)."/007_variation4.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'w+' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
@ -73,7 +73,7 @@ bool(true)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'w+' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)

View File

@ -48,7 +48,7 @@ unlink(dirname(__FILE__)."/007_variation5.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'a' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(37)
bool(false)
@ -60,7 +60,7 @@ bool(true)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'a' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d

View File

@ -47,7 +47,7 @@ unlink(dirname(__FILE__)."/007_variation6.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'a+' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(37)
string(57) "line
@ -62,7 +62,7 @@ bool(true)
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'a+' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d

View File

@ -44,7 +44,7 @@ unlink(dirname(__FILE__)."/007_variation7.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'x' mode ***
resource(5) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
@ -58,7 +58,7 @@ Warning: fopen(%s): failed to open stream: File exists in %s on line %s
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'x' mode ***
resource(5) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)

View File

@ -44,7 +44,7 @@ unlink(dirname(__FILE__)."/007_variation8.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'x+' mode ***
resource(5) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
int(37)
@ -60,7 +60,7 @@ Warning: fopen(%s): failed to open stream: File exists in %s on line %d
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'x+' mode ***
resource(5) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)

View File

@ -42,7 +42,7 @@ unlink(dirname(__FILE__)."/007_variation9.tmp");
?>
--EXPECTF--
*** Test fopen() & fclose() functions: with 'rt' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
string(6) "stream"
int(0)
string(20) "line
@ -54,7 +54,7 @@ string(7) "Unknown"
*** Done ***
--UEXPECTF--
*** Test fopen() & fclose() functions: with 'rt' mode ***
resource(8) of type (stream)
resource(%d) of type (stream)
unicode(6) "stream"
int(0)
unicode(20) "line