diff --git a/src/hyperlight_host/src/sandbox/snapshot/file_tests.rs b/src/hyperlight_host/src/sandbox/snapshot/file_tests.rs index 691f6f920..1d86f9329 100644 --- a/src/hyperlight_host/src/sandbox/snapshot/file_tests.rs +++ b/src/hyperlight_host/src/sandbox/snapshot/file_tests.rs @@ -2348,7 +2348,8 @@ fn symlink_snapshot_blob_rejected() { &path, OciTag::new("latest").unwrap(), )); - assert_err_contains(err, "symbolic link"); + // "link" is common to the `ELOOP` wording of every C library. + assert_err_contains(err, "link"); } #[test] @@ -2366,7 +2367,8 @@ fn symlink_config_blob_rejected() { &path, OciTag::new("latest").unwrap(), )); - assert_err_contains(err, "symbolic link"); + // "link" is common to the `ELOOP` wording of every C library. + assert_err_contains(err, "link"); } #[test]