tests: Pass $fish as a variable in some cases

I am not sure why this worked, actually.

These tests did not have $fish set anywhere, and on my fresh OpenBSD
VM it ended up calling whatever that calls "fish" (I think it's that
"Go fish!" game?).
This commit is contained in:
Fabian Homborg 2020-10-06 17:40:22 +02:00
parent e949b1de02
commit f6bba5ceb4
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
#RUN: env fth=%fish_test_helper %fish %s
#RUN: env fth=%fish_test_helper fish=%fish %fish %s
# Ensure job control works in non-interactive environments.

View file

@ -1,4 +1,4 @@
# RUN: env fth=%fish_test_helper %fish %s
# RUN: env fth=%fish_test_helper fish=%fish %fish %s
status job-control full

View file

@ -1,4 +1,4 @@
#RUN: %fish -C "set helper %fish_test_helper" %s
#RUN: %fish -C "set -g helper %fish_test_helper; set -g fish %fish" %s
# Check that nohup is propagated.
set fish (status fish-path)