Skip to content

TestWorkerGetOpt() likely hides a bug #2077

@dunglas

Description

@dunglas

What happened?

While working on TestWorkerGetOpt() in #1979, I discovered that the script exits with an error status when getopt() is called, but it's hidden in the logs because it's logged at debug level while we log only starting at info.

I've no idea of what's going on exactly.

Build Type

Docker (Debian Trixie)

Worker Mode

Yes

Operating System

GNU/Linux

CPU Architecture

x86_64

PHP configuration

n/a

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions