tests: Remove a misunderstanding

This commit is contained in:
Fabian Boehm 2023-09-15 20:04:13 +02:00
parent 731f06bdb9
commit 6194899c6b

View file

@ -1,7 +1,5 @@
#RUN: %fish -C 'set -g fish %fish' %s #RUN: %fish -C 'set -g fish %fish' %s
# FIXME: Rationalize behavior when PATH is explicitly unset, should this not behave like PATH=""?
# "" is threated like ".", see https://github.com/fish-shell/fish-shell/issues/3914
if command -q getconf if command -q getconf
env -u PATH $fish -c 'test "$PATH" = "$('(command -s getconf)' PATH)"; and echo Success' env -u PATH $fish -c 'test "$PATH" = "$('(command -s getconf)' PATH)"; and echo Success'
else else