mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 12:21:19 -03:00
This commit is contained in:
0
tests/test6.err
Normal file
0
tests/test6.err
Normal file
11
tests/test6.in
Executable file
11
tests/test6.in
Executable file
@@ -0,0 +1,11 @@
|
||||
|
||||
# Test that conditions that add or remove completions don't deadlock, etc.
|
||||
# We actually encountered some case that was effectively like this (Issue 2 in github)
|
||||
|
||||
complete --command AAAA -l abcd --condition 'complete -c AAAA -l efgh'
|
||||
complete -C'AAAA -'
|
||||
complete -C'AAAA -'
|
||||
|
||||
complete --command BBBB -l abcd --condition 'complete -e --command BBBB -l abcd'
|
||||
complete -C'BBBB -'
|
||||
complete -C'BBBB -'
|
||||
4
tests/test6.out
Normal file
4
tests/test6.out
Normal file
@@ -0,0 +1,4 @@
|
||||
--abcd
|
||||
--efgh
|
||||
--abcd
|
||||
--abcd
|
||||
1
tests/test6.status
Normal file
1
tests/test6.status
Normal file
@@ -0,0 +1 @@
|
||||
0
|
||||
Reference in New Issue
Block a user