diff options
Diffstat (limited to 'tests/test.fish')
-rw-r--r--[-rwxr-xr-x] | tests/test.fish | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/test.fish b/tests/test.fish index 588a8f35..0af92413 100755..100644 --- a/tests/test.fish +++ b/tests/test.fish @@ -1,6 +1,8 @@ -#!/usr/local/bin/fish -# # Fishscript tests +# +# There is no shebang line because you shouldn't be running this by hand. You +# should be running it via `make test` to ensure the environment is properly +# setup. # Change to directory containing this script cd (dirname (status -f)) @@ -22,7 +24,7 @@ function test_file echo -n "Testing file $file ... " - ../fish <$file >$base.tmp.out ^$base.tmp.err + ../test/root/bin/fish <$file >$base.tmp.out ^$base.tmp.err set -l tmp_status $status set -l res ok |