Lines Matching refs:options
109 def smbserver(options): argument
111 if options.pidfile:
116 with open(options.pidfile, "w") as f:
143 if not options.srcdir or not os.path.isdir(options.srcdir):
146 test_data_dir = os.path.join(options.srcdir, "data")
148 smb_server = TestSmbServer((options.host, options.port),
151 log.info("[SMB] setting up SMB server on port %s", options.port)
404 def setup_logging(options): argument
412 if options.logfile:
413 handler = ClosingFileHandler(options.logfile)
421 if options.verbose:
437 options = get_options() variable
440 setup_logging(options)
444 rc = smbserver(options)
449 if options.pidfile and os.path.isfile(options.pidfile):
450 os.unlink(options.pidfile)