(testsuite) Add lftp hostname completion testing fixture.
This commit is contained in:
parent
44f7ea3c5b
commit
35ebc8aec8
1
test/fixtures/lftp/.lftp/bookmarks
vendored
Normal file
1
test/fixtures/lftp/.lftp/bookmarks
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
lftptest ftp://ftp.funet.fi/
|
@ -1,4 +1,5 @@
|
|||||||
proc setup {} {
|
proc setup {} {
|
||||||
|
assert_bash_exec {HOME=$TESTDIR/fixtures/lftp}
|
||||||
save_env
|
save_env
|
||||||
}; # setup()
|
}; # setup()
|
||||||
|
|
||||||
@ -11,7 +12,10 @@ proc teardown {} {
|
|||||||
setup
|
setup
|
||||||
|
|
||||||
|
|
||||||
assert_complete_any "lftp "
|
set expected [get_hosts]
|
||||||
|
# `lftptest' is defined in ./fixtures/lftp/.lftp/bookmarks
|
||||||
|
lappend expected lftptest
|
||||||
|
assert_complete $expected "lftp "
|
||||||
|
|
||||||
|
|
||||||
sync_after_int
|
sync_after_int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user