(testsuite) Fix comment
This commit is contained in:
parent
8daa291d6a
commit
99d8cf290d
@ -19,24 +19,22 @@ if {[assert_exec {ls --help} "" "" "unsupported"]} {
|
||||
sync_after_int
|
||||
|
||||
|
||||
set test "~part should complete to ~full/"
|
||||
# Create list of users, having a home dir
|
||||
set test "~part should complete to ~full/ if existing dir"
|
||||
# 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
|
||||
# If home directory exists, append slash "/", else space " "
|
||||
assert_complete "~$full/" "ls ~$part" $test
|
||||
|
||||
|
||||
sync_after_int
|
||||
|
||||
|
||||
set test "~part should complete to ~full<space>"
|
||||
set test "~part should complete to ~full<space> if non-existing dir"
|
||||
# Create list of users, having non-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
|
||||
# If home directory exists, append slash "/", else space " "
|
||||
assert_complete "~$full " "ls ~$part" $test
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user