summaryrefslogtreecommitdiffhomepage
path: root/tests/test-config.cpp
diff options
context:
space:
mode:
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()
{