diff options
Diffstat (limited to 'tests/test-auth.cpp')
-rw-r--r-- | tests/test-auth.cpp | 7 |
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(){} }; |