summaryrefslogtreecommitdiffhomepage
path: root/tests/test-config.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-06 13:12:45 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-06 13:12:45 +0100
commitccbfd4b39162a6a320ed400635ebae2992cecd61 (patch)
tree5b1151b83571f92bba47c75eaa87c4744b9cc734 /tests/test-config.cpp
parente8a7c88b6cedbd05b183e85dff74c513bfcd774e (diff)
Certificate test
Diffstat (limited to 'tests/test-config.cpp')
-rw-r--r--tests/test-config.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/test-config.cpp b/tests/test-config.cpp
index ddae1c8..c16c519 100644
--- a/tests/test-config.cpp
+++ b/tests/test-config.cpp
@@ -26,13 +26,6 @@ public:
~ConfigFixture(){}
void setup()
{
- int filedes[2];
- if (pipe(filedes) == -1)
- throw std::runtime_error("Pipe error");
- if (close(1) == -1)
- throw std::runtime_error("Can't close stdout");
- if (dup(filedes[1]) == -1)
- throw std::runtime_error("Replace stdout w/ pipe input");
}
void teardown()
{