mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
selinux: adjust more error messages
This commit is contained in:
parent
2e34d94e17
commit
832dd495bf
7 changed files with 13 additions and 9 deletions
|
@ -6315,7 +6315,7 @@ fn test_cp_selinux_invalid() {
|
|||
.arg(TEST_HELLO_WORLD_SOURCE)
|
||||
.arg(TEST_HELLO_WORLD_DEST)
|
||||
.fails()
|
||||
.stderr_contains("Failed to");
|
||||
.stderr_contains("failed to");
|
||||
if at.file_exists(TEST_HELLO_WORLD_DEST) {
|
||||
at.remove(TEST_HELLO_WORLD_DEST);
|
||||
}
|
||||
|
|
|
@ -411,7 +411,7 @@ fn test_selinux_invalid() {
|
|||
.arg(at.plus_as_string(dest))
|
||||
.fails()
|
||||
.no_stdout()
|
||||
.stderr_contains("Failed to set default file creation context to 'testtest':");
|
||||
.stderr_contains("failed to set default file creation context to 'testtest':");
|
||||
// invalid context, so, no directory
|
||||
assert!(!at.dir_exists(dest));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue