diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-06-15 11:36:45 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-06-26 17:57:29 +0200 |
commit | f12bac46deccf19f0e591c20518b07d8b69cb365 (patch) | |
tree | 82c4e96a30cf316780eda79e027aaacef09a4d23 /test/buildtool/execution_api/local/local_api.test.cpp | |
parent | c88df1f494e8f8ffc1cfbe21e926c3c614111133 (diff) | |
download | justbuild-f12bac46deccf19f0e591c20518b07d8b69cb365.tar.gz |
tests: Add API checks for uploading non-upwards symlinks
Diffstat (limited to 'test/buildtool/execution_api/local/local_api.test.cpp')
-rw-r--r-- | test/buildtool/execution_api/local/local_api.test.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
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 @@ -58,6 +58,14 @@ TEST_CASE_METHOD(HermeticLocalTestFixture, } 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]") { TestRetrieveMixedBlobsAndTrees( |