mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 05:43:11 +00:00
low level tests: set pwd from getcwd before starting
Fixes the tests in Debian pbuilder environments. Closes #5599.
This commit is contained in:
parent
c7656e6622
commit
a042a4cb62
1 changed files with 3 additions and 0 deletions
|
@ -5075,6 +5075,9 @@ int main(int argc, char **argv) {
|
|||
// Set default signal handlers, so we can ctrl-C out of this.
|
||||
signal_reset_handlers();
|
||||
|
||||
// Set PWD from getcwd - fixes #5599
|
||||
env_stack_t::principal().set_pwd_from_getcwd();
|
||||
|
||||
if (should_test_function("utility_functions")) test_utility_functions();
|
||||
if (should_test_function("wcstring_tok")) test_wcstring_tok();
|
||||
if (should_test_function("env_vars")) test_env_vars();
|
||||
|
|
Loading…
Reference in a new issue