mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
dd/chroot: improve the skip message (not root)
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user