Currently,in func setup,exec the os.chdir(self.srcdir) for twice, It is no need to do so
Signed-off-by: Mike Qiu <[email protected]> --- client/tests/aiostress/aiostress.py | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/client/tests/aiostress/aiostress.py b/client/tests/aiostress/aiostress.py index 62e6f22..c3cd9e4 100644 --- a/client/tests/aiostress/aiostress.py +++ b/client/tests/aiostress/aiostress.py @@ -20,7 +20,6 @@ class aiostress(test.test): os.mkdir(self.srcdir) os.chdir(self.srcdir) utils.system('cp ' + self.bindir+'/aio-stress.c .') - os.chdir(self.srcdir) self.gcc_flags += ' -Wall -lpthread -laio' cmd = 'gcc ' + self.gcc_flags + ' aio-stress.c -o aio-stress' utils.system(cmd) -- 1.7.7.6 _______________________________________________ Autotest-kernel mailing list [email protected] https://www.redhat.com/mailman/listinfo/autotest-kernel
