Browse Source

more test fixes

PHAR_1_2
Antony Dovgal 19 years ago
parent
commit
52e4f43e42
  1. 3
      ext/hash/tests/hmac-md5.phpt
  2. 2
      tests/output/ob_010.phpt
  3. 2
      tests/output/ob_011.phpt

3
ext/hash/tests/hmac-md5.phpt

@ -15,6 +15,7 @@ hash_update($ctx, 'what do ya want for nothing?');
echo hash_final($ctx) . "\n";
echo hash_hmac('md5', str_repeat(chr(0xDD), 50), str_repeat(chr(0xAA), 16)) . "\n";
?>
--EXPECT--
9294727a3638bb1c13f48ef8158bfc9d
750c783e6ab0b503eaa86e310a5db738
@ -23,4 +24,4 @@ echo hash_hmac('md5', str_repeat(chr(0xDD), 50), str_repeat(chr(0xAA), 16)) . "\
9294727a3638bb1c13f48ef8158bfc9d
750c783e6ab0b503eaa86e310a5db738
Warning: hash_hmac(): Binary or ASCII-Unicode string expected, non-ASCII-Unicode string received in %s/tests/hmac-md5.php on line %d
Warning: hash_hmac(): Binary or ASCII-Unicode string expected, non-ASCII-Unicode string received in %shmac-md5.php on line %d

2
tests/output/ob_010.phpt

@ -10,4 +10,4 @@ ob_start("obh");
echo "foo\n";
?>
--EXPECTF--
Fatal error: print_r(): Cannot use output buffering in output buffering display handlers in %s/ob_010.php on line %d
Fatal error: print_r(): Cannot use output buffering in output buffering display handlers in %sob_010.php on line %d

2
tests/output/ob_011.phpt

@ -10,4 +10,4 @@ ob_start("obh");
echo "foo\n";
?>
--EXPECTF--
Fatal error: ob_get_flush(): Cannot use output buffering in output buffering display handlers in %s/ob_011.php on line %d
Fatal error: ob_get_flush(): Cannot use output buffering in output buffering display handlers in %sob_011.php on line %d
Loading…
Cancel
Save