diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-08-11 23:12:39 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-08-11 23:12:39 +0200 |
commit | a43201e5787e087d99b99e8d72c97ae0688eaf85 (patch) | |
tree | af9f892a10abd89d32d62d4fcb7c7b285fe6f022 /src/homedir.c | |
parent | 3c2ee9c341d0e9f22a1020c13deb87a2b6afafeb (diff) |
runtests: clear old setenv remainders before test
Due to the layout of the singletest function there are situations where
it returns before it clears the environment variables that were
especially set for the single specific test case. That could lead to
subsequent tests getting executed with environment variables sticking
around from a previous test which could lead to badness.
This change makes sure to clear all custom variables that may be laying
around from a previous round, before running a test case.
Reported by: Kamil Dudka
Bug: http://curl.haxx.se/mail/lib-2010-08/0141.html
Diffstat (limited to 'src/homedir.c')
0 files changed, 0 insertions, 0 deletions