Lines Matching defs:sType
249 def _mountShare(self, sMountPoint, sType, sServer, sShare, sUser, sPassword, sWhat):
255 if sType is None:
271 if sType == 'cifs':
278 raise TestBoxScriptException('Unsupported server type %s.' % (sType,));
283 if sType == 'cifs':
294 elif sType == 'nfs':
301 raise TestBoxScriptException('Unsupported server type %s.' % (sType,));
306 if sType == 'cifs':
321 elif sType == 'nfs':
328 raise TestBoxScriptException('Unsupported server type %s.' % (sType,));
332 if sType != 'cifs':
364 sType = os.environ.get('KBUILD_TYPE', os.environ.get('BUILD_TYPE', 'debug'));
366 utils.getHostOsDotArch(), sType, 'testboxscript', \
957 sType = getattr(oOptions, sPrefix + 'ServerType');
958 if sType is None or len(sType.strip()) == 0:
960 elif sType not in ['cifs', 'nfs']:
961 print('Syntax error: Invalid server type "%s"' % (sType,));