diff --git a/tests/by-util/test_cp.rs b/tests/by-util/test_cp.rs index adc80edcda1..bd81c5f76f2 100644 --- a/tests/by-util/test_cp.rs +++ b/tests/by-util/test_cp.rs @@ -1070,7 +1070,7 @@ fn test_cp_reflink_always_failure() { .args(&["--reflink=always", "/dev/null", "target"]) .fails() .no_stdout() - .stderr_contains("Invalid cross-device link"); + .stderr_contains("ross-device link"); // cover both of glibc and musl } #[test]