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/bazel/bazel_api.test.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/buildtool/execution_api/bazel/bazel_api.test.cpp') diff --git a/test/buildtool/execution_api/bazel/bazel_api.test.cpp b/test/buildtool/execution_api/bazel/bazel_api.test.cpp index 288b9bcc..268edb1e 100644 --- a/test/buildtool/execution_api/bazel/bazel_api.test.cpp +++ b/test/buildtool/execution_api/bazel/bazel_api.test.cpp @@ -56,6 +56,14 @@ TEST_CASE("BazelAPI: Retrieve two identical trees to path", "[execution_api]") { kApiFactory, RemoteExecutionConfig::PlatformProperties(), "two_trees"); } +TEST_CASE("BazelAPI: Retrieve file and symlink with same content to path", + "[execution_api]") { + TestRetrieveFileAndSymlinkWithSameContentToPath( + kApiFactory, + RemoteExecutionConfig::PlatformProperties(), + "file_and_symlink"); +} + TEST_CASE("BazelAPI: Retrieve mixed blobs and trees", "[execution_api]") { TestRetrieveMixedBlobsAndTrees(kApiFactory, RemoteExecutionConfig::PlatformProperties(), -- cgit v1.2.3