From 12d67c1a45dd991912d3e4fc77745dc3e3c0801f Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Wed, 7 Sep 2011 12:05:19 +0000 Subject: [PATCH] Fix cleanup routines --- ext/spl/tests/SplFileInfo_getGroup_basic.phpt | 4 ++-- ext/spl/tests/SplFileInfo_getOwner_basic.phpt | 4 ++-- ext/spl/tests/SplFileObject_fputcsv.phpt | 3 ++- ext/standard/tests/file/bug55124.phpt | 2 +- ext/zip/tests/bug53885.phpt | 5 +++++ 5 files changed, 12 insertions(+), 6 deletions(-) diff --git a/ext/spl/tests/SplFileInfo_getGroup_basic.phpt b/ext/spl/tests/SplFileInfo_getGroup_basic.phpt index c5808c57d9..d279935637 100644 --- a/ext/spl/tests/SplFileInfo_getGroup_basic.phpt +++ b/ext/spl/tests/SplFileInfo_getGroup_basic.phpt @@ -10,7 +10,7 @@ Jacopo Romei #Test Fest Cesena (Italy) on 2009-06-20 --FILE-- --CLEAN-- --EXPECTF-- diff --git a/ext/spl/tests/SplFileInfo_getOwner_basic.phpt b/ext/spl/tests/SplFileInfo_getOwner_basic.phpt index 790dcc69ba..3df8e4858b 100644 --- a/ext/spl/tests/SplFileInfo_getOwner_basic.phpt +++ b/ext/spl/tests/SplFileInfo_getOwner_basic.phpt @@ -10,7 +10,7 @@ Jacopo Romei #Test Fest Cesena (Italy) on 2009-06-20 --FILE-- --CLEAN-- --EXPECTF-- diff --git a/ext/spl/tests/SplFileObject_fputcsv.phpt b/ext/spl/tests/SplFileObject_fputcsv.phpt index 2a42d57479..66fdbfd1b9 100644 --- a/ext/spl/tests/SplFileObject_fputcsv.phpt +++ b/ext/spl/tests/SplFileObject_fputcsv.phpt @@ -2,7 +2,7 @@ SplFileObject::fputcsv(): functionality tests --FILE-- --CLEAN-- --EXPECT-- diff --git a/ext/standard/tests/file/bug55124.phpt b/ext/standard/tests/file/bug55124.phpt index 892d4508d8..1915b7f209 100644 --- a/ext/standard/tests/file/bug55124.phpt +++ b/ext/standard/tests/file/bug55124.phpt @@ -8,7 +8,7 @@ mkdir('a/./b', 0755, true); if (is_dir('a/b')) { rmdir('a/b'); } -if (is_dir('/a')) { +if (is_dir('./a')) { rmdir('a'); } chdir($old_dir_path); diff --git a/ext/zip/tests/bug53885.phpt b/ext/zip/tests/bug53885.phpt index d59bf8f034..1b3fcb9e4b 100644 --- a/ext/zip/tests/bug53885.phpt +++ b/ext/zip/tests/bug53885.phpt @@ -15,5 +15,10 @@ $nx->locateName("a",ZIPARCHIVE::FL_UNCHANGED); $nx->statName("a",ZIPARCHIVE::FL_UNCHANGED); ?> ==DONE== +--CLEAN-- + --EXPECTF-- ==DONE== -- 2.50.1