comparison tests/test-commandserver.py @ 20649:9524938c8ff8

cmdserver: prepare test for starting server without repository
author Yuya Nishihara <yuya@tcha.org>
date Mon, 03 Mar 2014 23:11:17 +0900
parents 5d4606bec54c
children e811b93f2cb1
comparison
equal deleted inserted replaced
20648:0838bd2f600f 20649:9524938c8ff8
293 os.system('hg qqueue --create foo') 293 os.system('hg qqueue --create foo')
294 # repo.mq should be recreated to point to new queue 294 # repo.mq should be recreated to point to new queue
295 runcommand(server, ['qqueue', '--active']) 295 runcommand(server, ['qqueue', '--active'])
296 296
297 if __name__ == '__main__': 297 if __name__ == '__main__':
298 os.system('hg init') 298 os.system('hg init repo')
299 os.chdir('repo')
299 300
300 check(hellomessage) 301 check(hellomessage)
301 check(unknowncommand) 302 check(unknowncommand)
302 check(checkruncommand) 303 check(checkruncommand)
303 check(inputeof) 304 check(inputeof)