diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-06-14 16:40:48 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-06-26 17:57:29 +0200 |
commit | 3865c8556bde5e614dc1e8c72f83fa1ed65abcd9 (patch) | |
tree | 7c4f118c07fe35a89deadbc9f4aa09b2f5f64e87 /test/buildtool/storage/local_cas.test.cpp | |
parent | db961e1e9fba6e0c439f69ac8342ef887d9d19a6 (diff) | |
download | justbuild-3865c8556bde5e614dc1e8c72f83fa1ed65abcd9.tar.gz |
bazel_msg_factory: Allow non-upwards symlinks in uploaded trees
Diffstat (limited to 'test/buildtool/storage/local_cas.test.cpp')
-rw-r--r-- | test/buildtool/storage/local_cas.test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/buildtool/storage/local_cas.test.cpp b/test/buildtool/storage/local_cas.test.cpp index 631d2eba..a5f6876f 100644 --- a/test/buildtool/storage/local_cas.test.cpp +++ b/test/buildtool/storage/local_cas.test.cpp @@ -72,7 +72,7 @@ TEST_CASE_METHOD(HermeticLocalTestFixture, "test/buildtool/storage/data/non_executable_file"}; auto const& cas = Storage::Instance().CAS(); - auto test_blob = CreateBlobFromFile(non_exec_file); + auto test_blob = CreateBlobFromPath(non_exec_file); REQUIRE(test_blob); // check blob not in storage @@ -121,7 +121,7 @@ TEST_CASE_METHOD(HermeticLocalTestFixture, "test/buildtool/storage/data/executable_file"}; auto const& cas = Storage::Instance().CAS(); - auto test_blob = CreateBlobFromFile(exec_file); + auto test_blob = CreateBlobFromPath(exec_file); REQUIRE(test_blob); // check blob not in storage |