From 600c0d5b3f46f5fd3e8387cc47d30af9dc9c4915 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Wed, 10 Mar 2021 18:00:05 +0100 Subject: [PATCH] tests: Remove unnecessary status fish-path This is broken on OpenBSD because it apparently doesn't have a /proc we can query, so it just gives "fish". Since it's unnecessary in this context just skip it. --- tests/checks/job-control-noninteractive.fish | 1 - tests/checks/sigint.fish | 1 - 2 files changed, 2 deletions(-) diff --git a/tests/checks/job-control-noninteractive.fish b/tests/checks/job-control-noninteractive.fish index 6c9566456..da4566306 100644 --- a/tests/checks/job-control-noninteractive.fish +++ b/tests/checks/job-control-noninteractive.fish @@ -15,7 +15,6 @@ or echo "pgroups were the same, job control did not work" # fish ignores SIGTTIN and so may transfer the tty even if it # doesn't own the tty. Ensure that doesn't happen. -set -l fish (status fish-path) $fish -c 'status job-control full ; $fth report_foreground' & wait #CHECKERR: background diff --git a/tests/checks/sigint.fish b/tests/checks/sigint.fish index 88ffc3247..7838ece07 100644 --- a/tests/checks/sigint.fish +++ b/tests/checks/sigint.fish @@ -1,7 +1,6 @@ #RUN: %fish -C "set -g helper %fish_test_helper; set -g fish %fish" %s # Check that nohup is propagated. -set fish (status fish-path) set output_path (mktemp) nohup $fish -c "$helper print_ignored_signals" 2>&1 > $output_path cat $output_path