dd/chroot: improve the skip message (not root)

This commit is contained in:
Sylvestre Ledru 2023-12-28 00:42:36 +01:00
parent 04a7f9c153
commit 764ea34c37
2 changed files with 3 additions and 3 deletions

View file

@ -124,7 +124,7 @@ fn test_default_shell() {
if let Ok(result) = run_ucmd_as_root(&ts, &[dir]) {
result.stderr_contains(expected);
} else {
print!("TEST SKIPPED");
print!("Test skipped; requires root user");
}
}

View file

@ -1565,7 +1565,7 @@ fn test_skip_past_dev() {
result.stderr_contains("0+0 records out");
result.code_is(1);
} else {
print!("TEST SKIPPED");
print!("Test skipped; requires root user");
}
}
@ -1586,7 +1586,7 @@ fn test_seek_past_dev() {
result.stderr_contains("0+0 records out");
result.code_is(1);
} else {
print!("TEST SKIPPED");
print!("Test skipped; requires root user");
}
}