From 0b924c5c23a89760ddecf8d8f6baa19333f9b667 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Tue, 30 May 2023 17:57:21 +0200 Subject: filesystem: Add logic for handling (non-upwards) symlinks --- test/buildtool/file_system/file_root.test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/buildtool/file_system/file_root.test.cpp') diff --git a/test/buildtool/file_system/file_root.test.cpp b/test/buildtool/file_system/file_root.test.cpp index a90e92ea..e6b4a930 100644 --- a/test/buildtool/file_system/file_root.test.cpp +++ b/test/buildtool/file_system/file_root.test.cpp @@ -31,7 +31,7 @@ auto const kBarId = std::string{"ba0e162e1c47469e3fe4b393a8bf8c569f302116"}; auto const kBundleSymPath = std::string{"test/buildtool/file_system/data/test_repo_symlinks.bundle"}; -auto const kTreeSymId = std::string{"e00aa80fd1600090930c7ec0b7146028693074bf"}; +auto const kTreeSymId = std::string{"18770dacfe14c15d88450c21c16668e13ab0e7f9"}; [[nodiscard]] auto GetTestDir() -> std::filesystem::path { auto* tmp_dir = std::getenv("TEST_TMPDIR"); @@ -105,7 +105,7 @@ void TestFileRootReadFile(FileRoot const& root) { // Check symlinks are missing CHECK_FALSE(root.Exists("baz_l")); - CHECK_FALSE(root.Exists("baz/foo_l")); + CHECK_FALSE(root.Exists("foo_l")); CHECK_FALSE(root.Exists("baz/bar_l")); } -- cgit v1.2.3