(testsuite) Add lftp hostname completion testing fixture.

This commit is contained in:
Ville Skyttä 2010-02-05 22:19:34 +02:00
parent 44f7ea3c5b
commit 35ebc8aec8
2 changed files with 6 additions and 1 deletions

1
test/fixtures/lftp/.lftp/bookmarks vendored Normal file
View File

@ -0,0 +1 @@
lftptest ftp://ftp.funet.fi/

View File

@ -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