summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-22 19:29:19 +0000
committerAndras Timar <andras.timar@collabora.com>2014-03-10 12:19:44 +0100
commit1855e8e354f4875fc4ad67504007df55bd0fbc23 (patch)
treebf3df3fa90a4715e939e624689b9d48e60b49057 /ucb
parentd98ae159392c0cd4373f40d3da31ecb0f8516938 (diff)
my upc router automatically adds .net to the domain search path
i.e. I get handed an /etc/resolv.conf of domain net search net ... and so "nohost" resolves to "nohost.net" which actually exists, so I get an authentication request which is unexpected by this test which therefore falls over. "nohost.invalid.net" also exists btw, as are other various foo.net forms where foo is one of the reserved tld which don't themselves exist. So lets shove a "*" into the name which is definitely invalid, sigh. Change-Id: I8627ced9199f339ad6cca8f27752d883ebe74aad (cherry picked from commit b3d153528a13807d2f5347ec83c7a8d483454a75) Reviewed-on: https://gerrit.libreoffice.org/8181 Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'ucb')
-rw-r--r--ucb/qa/complex/ucb/UCB.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/qa/complex/ucb/UCB.java b/ucb/qa/complex/ucb/UCB.java
index d9376386ae75..815209a32ce8 100644
--- a/ucb/qa/complex/ucb/UCB.java
+++ b/ucb/qa/complex/ucb/UCB.java
@@ -179,7 +179,7 @@ public class UCB {
@Test public void checkWrongFtpConnection() {
try {
- String acountUrl = "ftp://noname:nopasswd@nohost";
+ String acountUrl = "ftp://noname:nopasswd@*nohost.invalid";
System.out.println(acountUrl);
init();
Object content = getContent(acountUrl);