From 6be93b29ebc54ffcfd3ed689885c7040609a38aa Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 4 Mar 2019 10:52:50 +0100 Subject: [PATCH] Don't generate script for proc_open_pipes tests Commit the generated script instead, which is much simpler than the code generating it... --- .../general_functions/proc_open_pipes.inc | 21 ------------------- .../general_functions/proc_open_pipes1.phpt | 11 +--------- .../general_functions/proc_open_pipes2.phpt | 11 +--------- .../general_functions/proc_open_pipes3.phpt | 11 +--------- .../proc_open_pipes_sleep.inc | 2 ++ 5 files changed, 5 insertions(+), 51 deletions(-) delete mode 100644 ext/standard/tests/general_functions/proc_open_pipes.inc create mode 100644 ext/standard/tests/general_functions/proc_open_pipes_sleep.inc diff --git a/ext/standard/tests/general_functions/proc_open_pipes.inc b/ext/standard/tests/general_functions/proc_open_pipes.inc deleted file mode 100644 index 576118ffd63cf..0000000000000 --- a/ext/standard/tests/general_functions/proc_open_pipes.inc +++ /dev/null @@ -1,21 +0,0 @@ - 16 pipes --FILE-- ---CLEAN-- - --EXPECTF-- int(28) diff --git a/ext/standard/tests/general_functions/proc_open_pipes2.phpt b/ext/standard/tests/general_functions/proc_open_pipes2.phpt index 21734773a32ab..3c1cf9695592f 100644 --- a/ext/standard/tests/general_functions/proc_open_pipes2.phpt +++ b/ext/standard/tests/general_functions/proc_open_pipes2.phpt @@ -3,24 +3,15 @@ proc_open() with no pipes --FILE-- ---CLEAN-- - --EXPECT-- int(0) diff --git a/ext/standard/tests/general_functions/proc_open_pipes3.phpt b/ext/standard/tests/general_functions/proc_open_pipes3.phpt index d64987018bd46..7671b1dce1794 100644 --- a/ext/standard/tests/general_functions/proc_open_pipes3.phpt +++ b/ext/standard/tests/general_functions/proc_open_pipes3.phpt @@ -3,14 +3,12 @@ proc_open() with invalid pipes --FILE-- ---CLEAN-- - --EXPECTF-- Warning: proc_open(): pi is not a valid descriptor spec/mode in %s on line %d diff --git a/ext/standard/tests/general_functions/proc_open_pipes_sleep.inc b/ext/standard/tests/general_functions/proc_open_pipes_sleep.inc new file mode 100644 index 0000000000000..53eab093874df --- /dev/null +++ b/ext/standard/tests/general_functions/proc_open_pipes_sleep.inc @@ -0,0 +1,2 @@ +