bochs-runner: pass on additional arguments to fail-client

Change-Id: Icae29d819e4cbebc26e441a6daf74f9abafdb3ad
This commit is contained in:
Christian Dietrich
2013-09-19 14:56:49 +02:00
parent 5bf498d959
commit f2e76bfd70

View File

@ -37,8 +37,8 @@ def parseArgs():
return options, args
def execute(options, args, bochsrc, statedir):
command = "env FAIL_ELF_PATH=%s FAIL_STATEDIR=%s %s -q -f %s" %\
(options.elf_file, statedir, options.fail_client, bochsrc)
command = "env FAIL_ELF_PATH=%s FAIL_STATEDIR=%s %s -q -f %s %s" %\
(options.elf_file, statedir, options.fail_client, bochsrc, " ".join(args))
print "executing: " + command
p = Popen(command, shell=True)
p.wait()