From f12bac46deccf19f0e591c20518b07d8b69cb365 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Thu, 15 Jun 2023 11:36:45 +0200 Subject: tests: Add API checks for uploading non-upwards symlinks --- test/buildtool/execution_api/local/local_api.test.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/buildtool/execution_api/local/local_api.test.cpp') diff --git a/test/buildtool/execution_api/local/local_api.test.cpp b/test/buildtool/execution_api/local/local_api.test.cpp index 38c9007d..f5680a10 100644 --- a/test/buildtool/execution_api/local/local_api.test.cpp +++ b/test/buildtool/execution_api/local/local_api.test.cpp @@ -57,6 +57,14 @@ TEST_CASE_METHOD(HermeticLocalTestFixture, kApiFactory, {}, "two_trees", /*is_hermetic=*/true); } +TEST_CASE_METHOD(HermeticLocalTestFixture, + "LocalAPI: Retrieve file and symlink with same content to " + "path", + "[execution_api]") { + TestRetrieveFileAndSymlinkWithSameContentToPath( + kApiFactory, {}, "file_and_symlink", /*is_hermetic=*/true); +} + TEST_CASE_METHOD(HermeticLocalTestFixture, "LocalAPI: Retrieve mixed blobs and trees", "[execution_api]") { -- cgit v1.2.3