Skip to content

tests/rm/rm-readdir-fail?: strace -o /dev/null -e inject=getdents64:error=EIO rm -rf has wrong error #10272

@oech3

Description

@oech3
$  mkdir -p a/b
$ strace -o /dev/null -e inject=getdents64:error=EIO rm -rf a
rm: cannot remove 'a': Directory not empty

$  mkdir -p a/b
$ strace -o /dev/null -e inject=getdents64:error=EIO gnu9.9/rm -rf a
rm: cannot remove 'a': Input/output error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions