diff options
Diffstat (limited to 'ext/hash')
| -rw-r--r-- | ext/hash/tests/bug70312.phpt | 2 | ||||
| -rw-r--r-- | ext/hash/tests/hash-clone.phpt | 2 | ||||
| -rw-r--r-- | ext/hash/tests/hash_copy_001.phpt | 2 | ||||
| -rw-r--r-- | ext/hash/tests/hash_file_basic.phpt | 2 | ||||
| -rw-r--r-- | ext/hash/tests/hash_file_basic1.phpt | 2 | ||||
| -rw-r--r-- | ext/hash/tests/hash_hkdf_basic.phpt | 2 | ||||
| -rw-r--r-- | ext/hash/tests/hash_hkdf_rfc5869.phpt | 2 | ||||
| -rw-r--r-- | ext/hash/tests/hash_hmac_basic.phpt | 2 | ||||
| -rw-r--r-- | ext/hash/tests/new-context.phpt | 2 | ||||
| -rw-r--r-- | ext/hash/tests/serialize-context.phpt | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/ext/hash/tests/bug70312.phpt b/ext/hash/tests/bug70312.phpt index 5ded1ac5a5..6978feb65b 100644 --- a/ext/hash/tests/bug70312.phpt +++ b/ext/hash/tests/bug70312.phpt @@ -10,7 +10,7 @@ var_dump(hash('haval192,5', '123456789012345678901234567890123456789012345678901 var_dump(hash('haval224,5', '1234567890123456789012345678901234567890123456789012345678901234')); var_dump(hash('haval256,5', '1234567890123456789012345678901234567890123456789012345678901234')); ?> ---EXPECTF-- +--EXPECT-- string(32) "f3f0d23819b87228b4b70ee350afaa9d" string(40) "aded6485e137f11d7292212ba3fa961714df0564" string(48) "e53da2b16269fe732e9a898a96707a9f28404d7333b02286" diff --git a/ext/hash/tests/hash-clone.phpt b/ext/hash/tests/hash-clone.phpt index ba9257d1c2..9a067d73ae 100644 --- a/ext/hash/tests/hash-clone.phpt +++ b/ext/hash/tests/hash-clone.phpt @@ -30,7 +30,7 @@ foreach ($algos as $algo) { echo "Done\n"; ?> ---EXPECTF-- +--EXPECT-- string(3) "md2" string(32) "d5ac4ffd08f6a57b9bd402b8068392ff" string(32) "d5ac4ffd08f6a57b9bd402b8068392ff" diff --git a/ext/hash/tests/hash_copy_001.phpt b/ext/hash/tests/hash_copy_001.phpt index cd1af4de09..411b5d033d 100644 --- a/ext/hash/tests/hash_copy_001.phpt +++ b/ext/hash/tests/hash_copy_001.phpt @@ -30,7 +30,7 @@ foreach ($algos as $algo) { echo "Done\n"; ?> ---EXPECTF-- +--EXPECT-- string(3) "md2" string(32) "d5ac4ffd08f6a57b9bd402b8068392ff" string(32) "d5ac4ffd08f6a57b9bd402b8068392ff" diff --git a/ext/hash/tests/hash_file_basic.phpt b/ext/hash/tests/hash_file_basic.phpt index b16927d20e..f655421904 100644 --- a/ext/hash/tests/hash_file_basic.phpt +++ b/ext/hash/tests/hash_file_basic.phpt @@ -34,7 +34,7 @@ $filename = 'hash_file_basic_example.txt'; unlink( $filename ); ?> ---EXPECTF-- +--EXPECT-- *** Testing hash_file() : basic functionality *** string(32) "5c6ffbdd40d9556b73a21e63c3e0e904" string(40) "c0854fb9fb03c41cce3802cb0d220529e6eef94e" diff --git a/ext/hash/tests/hash_file_basic1.phpt b/ext/hash/tests/hash_file_basic1.phpt index 9a2bc01016..2e088cebe6 100644 --- a/ext/hash/tests/hash_file_basic1.phpt +++ b/ext/hash/tests/hash_file_basic1.phpt @@ -59,7 +59,7 @@ unlink($file); ?> ===Done=== ---EXPECTF-- +--EXPECT-- *** Testing hash_file() : basic functionality *** adler32: ff87222e crc32: 61664d33 diff --git a/ext/hash/tests/hash_hkdf_basic.phpt b/ext/hash/tests/hash_hkdf_basic.phpt index 7a8ffde6a1..06b5dac2cd 100644 --- a/ext/hash/tests/hash_hkdf_basic.phpt +++ b/ext/hash/tests/hash_hkdf_basic.phpt @@ -53,7 +53,7 @@ echo 'snefru256: ', bin2hex(hash_hkdf('snefru256', $ikm)), "\n"; echo 'gost: ', bin2hex(hash_hkdf('gost', $ikm)), "\n"; ?> ---EXPECTF-- +--EXPECT-- *** Testing hash_hkdf(): basic functionality *** md2: 87779851d2377dab25da16fd7aadfdf5 md4: 422c6bd8dd2a6baae8abadef618c3ede diff --git a/ext/hash/tests/hash_hkdf_rfc5869.phpt b/ext/hash/tests/hash_hkdf_rfc5869.phpt index 592d6aee9a..d1ad9961f4 100644 --- a/ext/hash/tests/hash_hkdf_rfc5869.phpt +++ b/ext/hash/tests/hash_hkdf_rfc5869.phpt @@ -68,7 +68,7 @@ echo "Test case 7 (SHA-1 with zero-length info, salt not provided): ", )), "\n"; ?> ===Done=== ---EXPECTF-- +--EXPECT-- *** Testing hash_hkdf(): RFC 5869 test vectors *** Test case 1 (SHA-256): 3cb25f25faacd57a90434f64d0362f2a2d2d0a90cf1a5a4c5db02d56ecc4c5bf34007208d5b887185865 Test case 2 (SHA-256 with longer inputs/outputs): b11e398dc80327a1c8e7f78c596a49344f012eda2d4efad8a050cc4c19afa97c59045a99cac7827271cb41c65e590e09da3275600c2f09b8367793a9aca3db71cc30c58179ec3e87c14c01d5c1f3434f1d87 diff --git a/ext/hash/tests/hash_hmac_basic.phpt b/ext/hash/tests/hash_hmac_basic.phpt index ad4e754e55..327cb58281 100644 --- a/ext/hash/tests/hash_hmac_basic.phpt +++ b/ext/hash/tests/hash_hmac_basic.phpt @@ -37,7 +37,7 @@ echo "sha256(raw): " . bin2hex(hash_hmac('sha256', $content, $key, TRUE)) . "\n" ?> ===Done=== ---EXPECTF-- +--EXPECT-- *** Testing hash_hmac() : basic functionality *** gost: a4a3c80bdf3f8665bf07376a34dc9c1b11af7c813f4928f62e39f0c0dc564dad haval128,3: 4d1318607f0406bd1b7bd50907772672 diff --git a/ext/hash/tests/new-context.phpt b/ext/hash/tests/new-context.phpt index 5b69115b12..b4ddf64a0f 100644 --- a/ext/hash/tests/new-context.phpt +++ b/ext/hash/tests/new-context.phpt @@ -10,5 +10,5 @@ try { } catch (Error $e) { echo "Exception: {$e->getMessage()}\n"; } ---EXPECTF-- +--EXPECT-- Exception: Call to private HashContext::__construct() from invalid context diff --git a/ext/hash/tests/serialize-context.phpt b/ext/hash/tests/serialize-context.phpt index 81b3a11f70..78177cda50 100644 --- a/ext/hash/tests/serialize-context.phpt +++ b/ext/hash/tests/serialize-context.phpt @@ -11,5 +11,5 @@ try { } catch (Exception $e) { echo "Exception: {$e->getMessage()}\n"; } ---EXPECTF-- +--EXPECT-- Exception: Serialization of 'HashContext' is not allowed
\ No newline at end of file |
