diff options
author | Fabien Villepinte <fabien.villepinte@gmail.com> | 2019-09-28 21:29:54 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-09-30 17:51:41 +0200 |
commit | 0aa3acc6c420ef19a33ee80e65c4fb2f2ee128d0 (patch) | |
tree | 36221c1449522c7cbfb5426bf67374f1a59f54fb /tests | |
parent | 1f0ffece91f127f3f67d0738b279a712226a206b (diff) | |
download | php-git-0aa3acc6c420ef19a33ee80e65c4fb2f2ee128d0.tar.gz |
Fix borked SKIPIFs
Diffstat (limited to 'tests')
-rw-r--r-- | tests/basic/bug20539.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic/bug20539.phpt b/tests/basic/bug20539.phpt index 6c2cfb2647..2b84d14189 100644 --- a/tests/basic/bug20539.phpt +++ b/tests/basic/bug20539.phpt @@ -2,7 +2,7 @@ Bug #20539 (PHP CLI Segmentation Fault) --SKIPIF-- <?php if (!extension_loaded("session")) die("skip session extension not available"); ?> -<?php unlink(__DIR__. '/sess_' .session_id()); ?> +<?php if (file_exists(__DIR__. '/sess_' .session_id())) unlink(__DIR__. '/sess_' .session_id()); ?> --INI-- session.auto_start=1 session.save_handler=files |