summaryrefslogtreecommitdiffhomepage
path: root/tests/test-auth.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-auth.cpp
parente8a7c88b6cedbd05b183e85dff74c513bfcd774e (diff)
Certificate test
Diffstat (limited to 'tests/test-auth.cpp')
-rw-r--r--tests/test-auth.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/test-auth.cpp b/tests/test-auth.cpp
index 37bc02f..467dbda 100644
--- a/tests/test-auth.cpp
+++ b/tests/test-auth.cpp
@@ -20,13 +20,6 @@ public:
~AuthFixture(){}
void setup()
{
- int filedes[2];
- if (pipe(filedes) == -1)
- throw std::runtime_error("Pipe error");
- if (close(2) == -1)
- throw std::runtime_error("Can't close stderr");
- if (dup(filedes[1]) == -1)
- throw std::runtime_error("Replace stdout w/ pipe input");
}
void teardown(){}
};