projects
/
m6w6
/
ext-psi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
b52dfcd
)
reset test
author
Michael Wallner
<mike@php.net>
Thu, 22 Nov 2018 13:04:28 +0000
(14:04 +0100)
committer
Michael Wallner
<mike@php.net>
Tue, 4 Dec 2018 11:13:49 +0000
(12:13 +0100)
tests/parser/dump001.phpt
patch
|
blob
|
history
diff --git
a/tests/parser/dump001.phpt
b/tests/parser/dump001.phpt
index 0f17bebf8183f7604ddf760535178246a610f6ea..e67758ec22343c18dd0f443ede820146ee2ccc91 100644
(file)
--- a/
tests/parser/dump001.phpt
+++ b/
tests/parser/dump001.phpt
@@
-1,14
+1,14
@@
--TEST--
parse dump
--SKIPIF--
--TEST--
parse dump
--SKIPIF--
-<?php
+<?php
extension_loaded("psi") or die("skip - need ext/psi");
?>
--INI--
psi.directory={PWD}/../../psi.d
--FILE--
===TEST===
extension_loaded("psi") or die("skip - need ext/psi");
?>
--INI--
psi.directory={PWD}/../../psi.d
--FILE--
===TEST===
-<?php
+<?php
$fn = __DIR__."/dump001.psi";
$fd = fopen($fn, "w");
psi_dump($fd);
$fn = __DIR__."/dump001.psi";
$fd = fopen($fn, "w");
psi_dump($fd);
@@
-17,7
+17,7
@@
fclose($fd);
var_dump(file_exists($fn));
var_dump(psi_validate($fn, 0, $e), $e);
var_dump(file_exists($fn));
var_dump(psi_validate($fn, 0, $e), $e);
-
#
@unlink(__DIR__."/dump001.psi");
+@unlink(__DIR__."/dump001.psi");
?>
===DONE===
?>
===DONE===
@@
-29,5
+29,5
@@
int(%d)
===DONE===
--CLEAN--
<?php
===DONE===
--CLEAN--
<?php
-
#
@unlink(__DIR__."/dump001.psi");
+@unlink(__DIR__."/dump001.psi");
?>
?>