Skip to content

dd: should return 1 on closed stderr but returns 0 #5906

@jfinkels

Description

@jfinkels

GNU dd v9.4.113-c01ee:

$ : | dd 2>&-; echo $?
1

uutils dd:

$ : | ./target/debug/dd 2>&-; echo $?
0

This test case appears in GNU test suite file tests/dd/stderr.sh.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions