aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-06-20 17:02:44 +0200
committerStefan Boberg <[email protected]>2021-06-20 17:02:44 +0200
commitcaca5c69b72ebc9f1da923b93a2fae2ead2a98b0 (patch)
tree481c09bd826a7efc93d5d86c855f5dd1d6b96e13
parentLaunch sandbox directory is now dynamic and configured from the main server (diff)
downloadzen-caca5c69b72ebc9f1da923b93a2fae2ead2a98b0.tar.xz
zen-caca5c69b72ebc9f1da923b93a2fae2ead2a98b0.zip
clang-format only
-rw-r--r--zenserver-test/zenserver-test.cpp8
-rw-r--r--zentestutil/zenserverprocess.cpp2
2 files changed, 3 insertions, 7 deletions
diff --git a/zenserver-test/zenserver-test.cpp b/zenserver-test/zenserver-test.cpp
index 187566d44..bd348ae14 100644
--- a/zenserver-test/zenserver-test.cpp
+++ b/zenserver-test/zenserver-test.cpp
@@ -1193,10 +1193,8 @@ struct RemoteExecutionRequest
zen::CbObjectWriter PrepReq;
- PrepReq << "cmd"
- << Command;
- PrepReq << "args"
- << Arguments;
+ PrepReq << "cmd" << Command;
+ PrepReq << "args" << Arguments;
PrepReq.BeginArray("files");
@@ -1322,8 +1320,6 @@ TEST_CASE("exec.basic")
const uint16_t PortNumber = 13337;
- const int kIterationCount = 100;
-
ZenServerInstance Zen1(TestEnv);
Zen1.SetTestDir(TestDir);
Zen1.SpawnServer(PortNumber);
diff --git a/zentestutil/zenserverprocess.cpp b/zentestutil/zenserverprocess.cpp
index 04314bc5f..ba28a43d6 100644
--- a/zentestutil/zenserverprocess.cpp
+++ b/zentestutil/zenserverprocess.cpp
@@ -55,7 +55,7 @@ ZenTestEnvironment::RootDir(std::string_view Path)
{
std::filesystem::path Root = m_ProgramBaseDir.parent_path().parent_path();
- std::filesystem::path Relative { Path };
+ std::filesystem::path Relative{Path};
return Root / Relative;
}