Skip to content

Test fails when compiling PHP with --disable-cgi #9927

Closed
@dwo0

Description

@dwo0

Description

Steps to reproduce:

  • Run ./configure with --disable-cgi or --disable-all.
  • make and make test

Actual results:

================================================================================
/home/dwo/Sources/php-src/sapi/cgi/tests/005.phpt
================================================================================
sh: line 1: -n: command not found
NULL
sh: line 1: -n: command not found
NULL
Done
================================================================================
001+ sh: line 1: -n: command not found
002+ NULL
003+ sh: line 1: -n: command not found
     "
     string(51) "Interactive mode enabled

     No input file specified.
004+ NULL
001- string(51) "Interactive mode enabled
002-
003- No input file specified.
004- "
005- string(51) "Interactive mode enabled
006-
007- No input file specified.
008- "
     Done
================================================================================

Expected results:
I expected the test to skip.

PHP Version

PHP 8.3.0-dev

Operating System

Ubuntu 22.04.1 (GNU/Linux 5.15.0.52/generic x-86_64)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions