use lower-case hostnames like in emails
authorBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Thu, 29 Jul 2010 17:05:42 +0000 (19:05 +0200)
committerBarış Metin <Talip-Baris.Metin@sophia.inria.fr>
Thu, 29 Jul 2010 17:05:42 +0000 (19:05 +0200)
system/plcsh_stress_test.py

index 4a76874..ef862bc 100755 (executable)
@@ -79,7 +79,7 @@ def randhostname(namelengths):
     hostname = 'a' + randstr(namelengths['hostname1'], letters + digits + '-') + '1.' + \
                'b' + randstr(namelengths['hostname1'], letters + digits + '-') + '2.' + \
                'c' + randstr(namelengths['hostname2'], letters)
-    return hostname
+    return hostname.lower()
 
 def randpath(length):
     parts = []