fix(test): Move local test to more current fish ...

... by means of using a more current OS, and
fix a test helper that used a feature now removed from fish.
This commit is contained in:
Raphael Reitzig 2023-06-26 09:00:24 +02:00
parent a211fbc9d0
commit 7c0ece3dfb
3 changed files with 9 additions and 7 deletions

View file

@ -64,7 +64,7 @@ def run_fish_command(cmd)
end.to_h
out, status = Open3.capture2e(<<~FISH
fish -c '#{cmd} > #{files[:stdout]} ^ #{files[:stderr]}; \
fish -c '#{cmd} > #{files[:stdout]} 2> #{files[:stderr]}; \
echo $status > #{files[:status]}; \
env > #{files[:env]}; \
'