From ccbfd4b39162a6a320ed400635ebae2992cecd61 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Fri, 6 Jan 2023 13:12:45 +0100 Subject: Certificate test --- tests/test-auth.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'tests/test-auth.cpp') 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(){} }; -- cgit v1.2.3