tests: Use status dirname

This commit is contained in:
Fabian Homborg
2020-06-14 19:11:57 +02:00
parent c7efe46e0b
commit 52a6574751
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ end
set -gx FISH_UNIT_TESTS_RUNNING 1
# Change to directory containing this script
cd (dirname (status -f))
cd (status dirname)
# These env vars should not be inherited from the user environment because they can affect the
# behavior of the tests. So either remove them or set them to a known value.