summaryrefslogtreecommitdiff
path: root/test/lib/completions/dpkg.exp
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.eti.br>2018-03-18 12:02:11 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>2018-03-18 12:02:11 -0300
commit9cd22d1df8f0f5b554858471c86faa9f37b8fed4 (patch)
tree6399b936aecc388506ec32cfc10fdb06cfc1949f /test/lib/completions/dpkg.exp
parent6d88f1055806932d9291f96847d2b691cccda2cd (diff)
downloadbash-completion-9cd22d1df8f0f5b554858471c86faa9f37b8fed4.tar.gz
New upstream version 2.8upstream/2.8
Diffstat (limited to 'test/lib/completions/dpkg.exp')
-rw-r--r--test/lib/completions/dpkg.exp8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/lib/completions/dpkg.exp b/test/lib/completions/dpkg.exp
index 0ea6ded3..b69f79fd 100644
--- a/test/lib/completions/dpkg.exp
+++ b/test/lib/completions/dpkg.exp
@@ -22,13 +22,7 @@ if {[assert_exec {dpkg --get-selections | command grep \[\[:space:\]\]install$ |
sync_after_int
-set test "dpkg -i ~part should complete to ~full/ if home dir exists"
-# https://bugs.debian.org/864691
-# Create list of users, having existing home dir
-assert_bash_exec {for u in $(compgen -u); do \
- eval test -d ~$u && echo $u; unset u; done} {} /@ users
-find_unique_completion_pair $users part full
-assert_complete "~$full/" "dpkg -i ~$part" $test -nospace
+assert_complete_homedir "dpkg -i"
sync_after_int