diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 9e063597e6bbe..b45468031fcd0 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -2271,6 +2271,7 @@ consult the installation file that came with this distribution, or visit \n\ case 'a': /* interactive mode */ printf("Interactive mode enabled\n\n"); + fflush(stdout); break; case 'C': /* don't chdir to the script directory */ diff --git a/sapi/cgi/tests/005-win32.phpt b/sapi/cgi/tests/005-win32.phpt deleted file mode 100644 index cafec91d3dbbd..0000000000000 --- a/sapi/cgi/tests/005-win32.phpt +++ /dev/null @@ -1,34 +0,0 @@ ---TEST-- -using invalid combinations of cmdline options ---SKIPIF-- - ---FILE-- - ---EXPECT-- -string(51) "Interactive mode enabled - -No input file specified. -" -string(51) "Interactive mode enabled - -No input file specified. -" -Done diff --git a/sapi/cgi/tests/005.phpt b/sapi/cgi/tests/005.phpt index a46ac912c7063..55247588b3b84 100644 --- a/sapi/cgi/tests/005.phpt +++ b/sapi/cgi/tests/005.phpt @@ -1,14 +1,5 @@ --TEST-- using invalid combinations of cmdline options ---SKIPIF-- - --FILE-- --EXPECT-- -string(51) "No input file specified. -Interactive mode enabled +string(51) "Interactive mode enabled +No input file specified. " -string(51) "No input file specified. -Interactive mode enabled +string(51) "Interactive mode enabled +No input file specified. " Done