mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 23:04:22 +08:00
02ee112308
This *might* be a bit faster running under TSAN, otherwise it takes > 400 seconds on Github Actions. If this doesn't work we need to disable it for TSAN.
12 lines
349 B
Fish
12 lines
349 B
Fish
#RUN: %fish -C 'set -l fish %fish' %s
|
|
# Test all completions where the command exists
|
|
|
|
# No output is good output
|
|
for f in $__fish_data_dir/completions/*.fish
|
|
if type -q (string replace -r '.*/([^/]+).fish' '$1' $f)
|
|
set -l out (source $f 2>&1 | string collect)
|
|
test -n "$out"
|
|
and echo -- OUTPUT from $f: $out
|
|
end
|
|
end
|