From a5cb6edb475bd41a3e3ced3fa9323096535c2da9 Mon Sep 17 00:00:00 2001 From: Siva Chandra Reddy Date: Sun, 19 Jun 2022 21:38:16 +0000 Subject: [PATCH] [libc] Revert: Temporary disable environment tests for PATH variable. This reverts commit 2846c2bb4fa4e50b2eb4ff4231825d73840c8c1c. The reason for the disable is not relevant anymore. --- libc/test/integration/src/stdlib/getenv_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libc/test/integration/src/stdlib/getenv_test.cpp b/libc/test/integration/src/stdlib/getenv_test.cpp index 0d1b58a..a4b3ff5 100644 --- a/libc/test/integration/src/stdlib/getenv_test.cpp +++ b/libc/test/integration/src/stdlib/getenv_test.cpp @@ -32,8 +32,8 @@ int main(int argc, char **argv, char **envp) { ASSERT_TRUE(my_streq(__llvm_libc::getenv("="), static_cast(nullptr))); ASSERT_TRUE(my_streq(__llvm_libc::getenv("MISSING ENV VARIABLE"), static_cast(nullptr))); - // ASSERT_FALSE( - // my_streq(__llvm_libc::getenv("PATH"), static_cast(nullptr))); + ASSERT_FALSE( + my_streq(__llvm_libc::getenv("PATH"), static_cast(nullptr))); ASSERT_TRUE(my_streq(__llvm_libc::getenv("FRANCE"), "Paris")); ASSERT_FALSE(my_streq(__llvm_libc::getenv("FRANCE"), "Berlin")); ASSERT_TRUE(my_streq(__llvm_libc::getenv("GERMANY"), "Berlin")); -- 2.7.4