diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-05-11 18:59:38 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-05-11 18:59:38 -0700 |
commit | c15975113ab80241c71dc6dfa41a470b232de4ce (patch) | |
tree | 85eedc8c0759469e74cbe8f74120041977285feb /tests/test6.in | |
parent | 2d3d6e1c178482a13db3a499d0dd0a734cd7a1ab (diff) |
Diffstat (limited to 'tests/test6.in')
-rwxr-xr-x | tests/test6.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/test6.in b/tests/test6.in new file mode 100755 index 00000000..e9b6e9b4 --- /dev/null +++ b/tests/test6.in @@ -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 -' |