Merge pull request #33 from digineo/ipv6
Use localhost to test IPv6 connectivity
This commit is contained in:
commit
23b395751d
@ -1,6 +1,8 @@
|
|||||||
# Used by Travis CI
|
# Used by Travis CI
|
||||||
|
|
||||||
listen=YES
|
listen=NO
|
||||||
|
listen_ipv6=YES
|
||||||
|
|
||||||
write_enable=YES
|
write_enable=YES
|
||||||
dirmessage_enable=YES
|
dirmessage_enable=YES
|
||||||
secure_chroot_dir=/var/run/vsftpd/empty
|
secure_chroot_dir=/var/run/vsftpd/empty
|
||||||
|
@ -151,7 +151,7 @@ func TestConnIPv6(t *testing.T) {
|
|||||||
t.Skip("skipping test in short mode.")
|
t.Skip("skipping test in short mode.")
|
||||||
}
|
}
|
||||||
|
|
||||||
c, err := DialTimeout("[2001:660:3302:282a:204:75ff:fe9f:9e11]:21", 5*time.Second)
|
c, err := DialTimeout("[::1]:21", 5*time.Second)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user