We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 858afc6 commit 4348454Copy full SHA for 4348454
1 file changed
tests/cli_errors.rs
@@ -112,8 +112,8 @@ fn fs_errors() {
112
if unsafe { libc::geteuid() } == 0 {
113
panic!(
114
"{}\n{}",
115
- "error: Attempt to run this test on root environment was detected. Such an environment would affect the accuracy of this test.",
116
- "hint: Either run this test on non-root environment or set `RUSTFLAGS='--cfg pdu_test_skip_fs_errors'` to skip this error.",
+ "error: This test must not be run as root because running with elevated privileges would affect its accuracy.",
+ "hint: Either run this test as a non-root user or set `RUSTFLAGS='--cfg pdu_test_skip_fs_errors'` to skip this test.",
117
);
118
}
119
0 commit comments