From 0dce8373cdc84c9422dbb94910833d5d34c3d73b Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Thu, 16 Jul 2015 15:04:41 +0200 Subject: [PATCH] forked test for windows --- .../general_functions/bug70018-win32.phpt | 31 +++++++++++++++++++ .../tests/general_functions/bug70018.phpt | 8 ++++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 ext/standard/tests/general_functions/bug70018-win32.phpt diff --git a/ext/standard/tests/general_functions/bug70018-win32.phpt b/ext/standard/tests/general_functions/bug70018-win32.phpt new file mode 100644 index 0000000000..427d816e4a --- /dev/null +++ b/ext/standard/tests/general_functions/bug70018-win32.phpt @@ -0,0 +1,31 @@ +--TEST-- +Bug #70018 (exec does not strip all whitespace), var 2 +--SKIPIF-- + +--FILE-- + +--EXPECT-- +array(2) { + [0]=> + string(3) "abc" + [1]=> + string(0) "" +} diff --git a/ext/standard/tests/general_functions/bug70018.phpt b/ext/standard/tests/general_functions/bug70018.phpt index 4862010a31..8685006092 100644 --- a/ext/standard/tests/general_functions/bug70018.phpt +++ b/ext/standard/tests/general_functions/bug70018.phpt @@ -1,5 +1,11 @@ --TEST-- -Bug #70018 (exec does not strip all whitespace) +Bug #70018 (exec does not strip all whitespace), var 1 +--SKIPIF-- + --FILE--