Lines Matching +full:1 +full:- +full:stop
40 self.stop = False
49 In any case we return the now-connected client, plus the
89 if pair[1] is None:
90 # No session yet - establish one. Note, this may fail.
91 section = None if cid is None else ('client-' + cid)
99 pair[1] = (aname, uname, n_uname)
134 where = '[{0}] or [{1}]'.format(section, where)
137 raise LocalError('need {0}=value in {1}'.format(name, where))
146 if result.lower() in ('1', 't', 'true', 'y', 'yes'):
150 raise ValueError('{0} {1}={2}: invalid boolean'.format(where, name,
152 raise ValueError('{0} {1}={2}: internal error: bad result type '
169 return plural if n != 1 else singular
172 "used in succ/fail/skip - skips rest of testcase with"
219 "add tracing info to log-file output"
253 # timeout/eof - best guess is that we crashed the server!
261 tstate.failures += 1
262 tstate.exceptions += 1
268 tstate.successes += 1
271 tstate.skips += 1
274 tstate.failures += 1
291 parser.add_argument('-c', '--config',
307 failed = set(ok) - set(args.config)
310 word = 'files' if nfailed > 1 else 'file'
312 print('failed to read {0} {1}: {2}'.format(nfailed, word, failed))
313 sys.exit(1)
327 tstate.stop = True # unless overwritten below
329 tc.detail = 'connecting to {0}:{1}'.format(server, port)
339 tstate.stop = False
342 if not tstate.stop:
346 tstate.stop = True
358 tstate.stop = False
362 if not tstate.stop:
378 if not tstate.stop:
385 tstate.stop = True
391 if not tstate.stop:
394 section = 'attach-with-bad-afid'
409 if not tstate.stop:
419 print('{0}/{1} tests succeeded'.format(tstate.successes, n_tests))
421 print('{0}/{1} tests failed'.format(tstate.failures, n_tests))
423 print('{0} {1} skipped'.format(tstate.skips,
427 print('{0} {1} occurred'.format(tstate.exceptions,
430 if tstate.stop:
432 return 1 if tstate.stop or tstate.exceptions or tstate.failures else 0
439 if tstate.stop:
467 # the dot-L readdir().
481 tstate.stop = True
487 tstate.stop = True
491 if tstate.stop:
501 tc.skip('cannot test dot-L mkdir on {0}'.format(clnt.proto))
505 tstate.stop = True
517 tstate.stop = True
530 tstate.stop = True
538 tstate.stop = False
544 if tstate.stop:
574 'got mtime.sec={1}, size='
575 '{1}'.format(set_time_to.sec, attrs.mtime.sec, attrs.size))
634 tc.succ('xattrwalk size={0} datalen={1}'.format(size, len(data)))