diff options
| author | Christoph M. Becker <cmbecker69@gmx.de> | 2020-04-28 17:42:52 +0200 |
|---|---|---|
| committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-04-29 09:07:53 +0200 |
| commit | 0b04b9347f5dfa42b3dc3f9791d5c8d36157cb8d (patch) | |
| tree | 49018ad902054c3d0e69d254b4ab9f4c16a229c7 /ext/session | |
| parent | 5a6373f904c6497551cd53baf323ddb854a553e1 (diff) | |
| download | php-git-0b04b9347f5dfa42b3dc3f9791d5c8d36157cb8d.tar.gz | |
Enclose contents of CLEAN sections in PHP tags
We also place the CLEAN sections before EXPECT(F), and remove
extraneous clean-ups.
Diffstat (limited to 'ext/session')
| -rw-r--r-- | ext/session/tests/session_save_path_variation4.phpt | 3 | ||||
| -rw-r--r-- | ext/session/tests/session_save_path_variation5.phpt | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ext/session/tests/session_save_path_variation4.phpt b/ext/session/tests/session_save_path_variation4.phpt index a95b990dbc..c59a39ece3 100644 --- a/ext/session/tests/session_save_path_variation4.phpt +++ b/ext/session/tests/session_save_path_variation4.phpt @@ -42,10 +42,11 @@ echo "Done"; ob_end_flush(); ?> --CLEAN-- +<?php $initdir = __DIR__; $sessions = ($initdir."/sessions"); -chdir($initdir); var_dump(rmdir($sessions)); +?> --EXPECTF-- *** Testing session_save_path() : variation *** bool(true) diff --git a/ext/session/tests/session_save_path_variation5.phpt b/ext/session/tests/session_save_path_variation5.phpt index b97badf7f6..7a8907e6dd 100644 --- a/ext/session/tests/session_save_path_variation5.phpt +++ b/ext/session/tests/session_save_path_variation5.phpt @@ -40,9 +40,11 @@ echo "Done"; ob_end_flush(); ?> --CLEAN-- +<?php $directory = __DIR__; $sessions = ($directory."/sessions"); var_dump(rmdir($sessions)); +?> --EXPECTF-- *** Testing session_save_path() : variation *** bool(true) |
