aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test6.in
blob: e9b6e9b4df7e9af0ff87007edb0d8c16d80a8622 (plain)
1
2
3
4
5
6
7
8
9
10
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 -'