diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2019-11-29 15:19:03 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2019-11-29 15:19:03 +0300 |
commit | d988e2f485539e9db48a9866414b9399438d76ab (patch) | |
tree | 31bea060a44163b862c1690a5ca476d43edfa2a9 | |
parent | bd510432eabcd2a08021c39a1687a19088ddc86d (diff) | |
download | apt-d988e2f485539e9db48a9866414b9399438d76ab.tar.gz |
Remove unreliable test for tmp dir
On Solaris P_tmpdir macro is "/var/tmp", not "/tmp".
-rw-r--r-- | test/libapt/fileutl_test.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/libapt/fileutl_test.cc b/test/libapt/fileutl_test.cc index 788ab76b2..14946aa52 100644 --- a/test/libapt/fileutl_test.cc +++ b/test/libapt/fileutl_test.cc @@ -250,9 +250,6 @@ TEST(FileUtlTest, GetTempDir) if (envtmp != NULL) old_tmpdir = envtmp; - unsetenv("TMPDIR"); - EXPECT_EQ("/tmp", GetTempDir()); - setenv("TMPDIR", "", 1); EXPECT_EQ("/tmp", GetTempDir()); |