144a145
> curdir = os.getcwd()
151c152
< '-red', test.m5out_dir(),
---
> '-red', os.path.abspath(test.m5out_dir()),
154c155,157
< config_path
---
> config_path,
> '--working-dir',
> os.path.dirname(test.src_dir())
164a168
> os.chdir(curdir)