Skip to content

chgrp tests started to fail in the CI #3890

@sylvestre

Description

@sylvestre
    test_chgrp::basic_succeeds
    test_chgrp::test_permission_denied
    test_chgrp::test_subdir_permission_denied

Maybe a change in the CI configuration ?

---- test_chgrp::basic_succeeds stdout ----
current_directory_resolved: 
touch: /tmp/.tmpIUgTQF/f1
run: /target/x86_64-unknown-linux-gnu/debug/coreutils chgrp 121 f1
thread 'test_chgrp::basic_succeeds' panicked at 'Command was expected to succeed.
stdout = 
 stderr = chgrp: invalid group: '121'
', tests/common/util.rs:176:9

---- test_chgrp::test_permission_denied stdout ----
current_directory_resolved: 
mkdir: /tmp/.tmpKuolVr/dir
touch: /tmp/.tmpKuolVr/dir/file
run: /target/x86_64-unknown-linux-gnu/debug/coreutils chgrp -R 121 dir
thread 'test_chgrp::test_permission_denied' panicked at 'assertion failed: `(left == right)`

Diff < left / right > :
<chgrp: invalid group: '121'
>chgrp: cannot access 'dir': Permission denied

', tests/common/util.rs:328:9

---- test_chgrp::test_subdir_permission_denied stdout ----
current_directory_resolved: 
mkdir: /tmp/.tmprlqWYu/dir
mkdir: /tmp/.tmprlqWYu/dir/subdir
touch: /tmp/.tmprlqWYu/dir/subdir/file
run: /target/x86_64-unknown-linux-gnu/debug/coreutils chgrp -R 121 dir
thread 'test_chgrp::test_subdir_permission_denied' panicked at 'assertion failed: `(left == right)`

Diff < left / right > :
<chgrp: invalid group: '121'
>chgrp: cannot access 'dir/subdir': Permission denied

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions