From 1b3569235a47887fbaa4ac53f615dc43dbc1394d Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Sat, 20 Sep 2014 15:13:42 +0200 Subject: [PATCH] forked bug41655 test for windows --- ext/standard/tests/file/bug41655_1-win32.phpt | 22 +++++++++++++++++++ ext/standard/tests/file/bug41655_1.phpt | 8 ++++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 ext/standard/tests/file/bug41655_1-win32.phpt diff --git a/ext/standard/tests/file/bug41655_1-win32.phpt b/ext/standard/tests/file/bug41655_1-win32.phpt new file mode 100644 index 0000000000..631d91079b --- /dev/null +++ b/ext/standard/tests/file/bug41655_1-win32.phpt @@ -0,0 +1,22 @@ +--TEST-- +Bug #41655 (open_basedir bypass via glob()) 1/2 +--SKIPIF-- + +--CREDITS-- +Dave Kelsey +--INI-- +open_basedir=/tmp +--FILE-- + +--EXPECT-- +array(0) { +} +Done diff --git a/ext/standard/tests/file/bug41655_1.phpt b/ext/standard/tests/file/bug41655_1.phpt index 62d64dfb1e..e4466821f9 100644 --- a/ext/standard/tests/file/bug41655_1.phpt +++ b/ext/standard/tests/file/bug41655_1.phpt @@ -1,5 +1,11 @@ --TEST-- Bug #41655 (open_basedir bypass via glob()) 1/2 +--SKIPIF-- + --CREDITS-- Dave Kelsey --INI-- @@ -12,4 +18,4 @@ echo "Done\n"; ?> --EXPECT-- bool(false) -Done \ No newline at end of file +Done -- 2.50.1