mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-30 12:37:49 +00:00
Merge pull request #5734 from sylvestre/improv-skip
dd/chroot: improve the skip message (not root)
This commit is contained in:
commit
4e9dbe3aa4
2 changed files with 3 additions and 3 deletions
|
@ -124,7 +124,7 @@ fn test_default_shell() {
|
||||||
if let Ok(result) = run_ucmd_as_root(&ts, &[dir]) {
|
if let Ok(result) = run_ucmd_as_root(&ts, &[dir]) {
|
||||||
result.stderr_contains(expected);
|
result.stderr_contains(expected);
|
||||||
} else {
|
} 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.stderr_contains("0+0 records out");
|
||||||
result.code_is(1);
|
result.code_is(1);
|
||||||
} else {
|
} 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.stderr_contains("0+0 records out");
|
||||||
result.code_is(1);
|
result.code_is(1);
|
||||||
} else {
|
} else {
|
||||||
print!("TEST SKIPPED");
|
print!("Test skipped; requires root user");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue