Tests: Don't cd to the tests directory!

We:

1. Set up a nice TMPDIR for our tests to use
2. Immediately `cd` to the directory containing the test runner.

So instead we don't do (2), and stay in the temp directory, and
explicitly use all the things from the test runner directory.

I am fairly certain that cmake papered over this by adding a second
layer of temp dir.
This commit is contained in:
Fabian Boehm
2024-12-27 20:02:11 +01:00
parent 050fe09af1
commit 5e10d75a19
16 changed files with 46 additions and 40 deletions

View File

@@ -141,7 +141,7 @@ echo $status
abbr --query banana --function
echo $status
# CHECKERR: abbr: --function: option requires an argument
# CHECKERR: checks/abbr.fish (line 141):
# CHECKERR: {{.*}}checks/abbr.fish (line 141):
# CHECKERR: abbr --query banana --function
# CHECKERR: ^
# CHECKERR: (Type 'help abbr' for related documentation)