mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-11-29 09:49:20 +08:00
As the paths returned by validator have the symlinks resolved, the test needs to resolve the symlinks also in the expected values. Previously this would fail if t.TempDir() or os.GetWd() returned a path that contained a symlink. The issue was purely in the test and not in the entitlements validation logic. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>