com php-src: Adjust test so that it passes on more restrictive filesystems: ext/session/tests/session_id_basic2.phpt
| From: | Yasuo Ohgaki | Date: | Mon, 22 Aug 2016 08:01:07 +0000 |
| Subject: | com php-src: Adjust test so that it passes on more restrictive filesystems: ext/session/tests/session_id_basic2.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-94041@lists.php.net to get a copy of this message | ||
Commit: 7d703a0060dcc6709304ca956c8aa5bdbfa7625c
Author: Yasuo Ohgaki <yohgaki@php.net> Mon, 22 Aug 2016 17:01:07 +0900
Parents: 21c72827c73d733a0be9058e86c60f3f39779157
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7d703a0060dcc6709304ca956c8aa5bdbfa7625c
Log:
Adjust test so that it passes on more restrictive filesystems
Changed paths:
M ext/session/tests/session_id_basic2.phpt
Diff:
diff --git a/ext/session/tests/session_id_basic2.phpt b/ext/session/tests/session_id_basic2.phpt
index 4421a53..fd26c0e 100644
--- a/ext/session/tests/session_id_basic2.phpt
+++ b/ext/session/tests/session_id_basic2.phpt
@@ -16,7 +16,7 @@ ob_start();
echo "*** Testing session_id() : basic functionality ***\n";
ini_set('session.sid_bits_per_chracter', 6);
-ini_set('session.sid_length', 240);
+ini_set('session.sid_length', 120);
session_start();
var_dump(session_id());
session_commit();
@@ -32,7 +32,7 @@ echo "Done";
?>
--EXPECTF--
*** Testing session_id() : basic functionality ***
-string(240) "%s"
+string(120) "%s"
string(22) "%s"
Done