From 7e820f3b5b0e2189fbc0bf1d2a501661ea44c184 Mon Sep 17 00:00:00 2001 From: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com> Date: Fri, 17 Jul 2026 21:23:17 +0000 Subject: [PATCH] Fix musl error assertion Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com> --- src/hyperlight_host/src/sandbox/snapshot/file_tests.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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]