Whamcloud - gitweb
b=8080
authornathan <nathan>
Tue, 18 Oct 2005 18:26:37 +0000 (18:26 +0000)
committernathan <nathan>
Tue, 18 Oct 2005 18:26:37 +0000 (18:26 +0000)
- modules aren't as automatic as they should be for linux 2.4
- for some reason python in linux 2.4 didn't understand this lmc construct

lustre/utils/lmc

index 3979e6e..f14733e 100755 (executable)
@@ -676,7 +676,7 @@ def add_net(gen, lustre, options):
     if options.nonet:
         if options.verbose:
             print "Skip the remote host networking test."
-    elif node_name != 'client' and real_net_type in ('tcp'):
+    elif (node_name != 'client') and (real_net_type == 'tcp'):
         print "Testing network on", node_name
         target = string.split(nid,'@')[0]
         out = runcmd("ping -c 1 -w 10 %s" %target)