From 3ba94cd20bb6fcd826f4e841cc9f2d5bc347ff91 Mon Sep 17 00:00:00 2001 From: Rahim Kanji Date: Tue, 29 Nov 2022 14:17:49 +0500 Subject: [PATCH] Removed hard coded env variables --- test/tap/tests/test_dns_cache-t.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/tap/tests/test_dns_cache-t.cpp b/test/tap/tests/test_dns_cache-t.cpp index ffe1920ce..3301f7531 100644 --- a/test/tap/tests/test_dns_cache-t.cpp +++ b/test/tap/tests/test_dns_cache-t.cpp @@ -128,12 +128,6 @@ bool check_result(const std::string& key, const std::map& p } int main(int argc, char** argv) { - putenv("TAP_HOST=127.0.0.1"); - putenv("TAP_PORT=6033"); - putenv("TAP_USERNAME=root"); - putenv("TAP_PASSWORD=root"); - putenv("TAP_WORKDIR=./tests/"); - CommandLine cl; if (cl.getEnv()) {