Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
From: Brandon Philips <brandon@ifup.org>
Fix up default execute args in stress.py



git-svn-id: svn://test.kernel.org/autotest/trunk@177 592f7852-d20e-0410-864c-8624ca9c26a4
  • Loading branch information
mbligh committed Aug 31, 2006
1 parent 011f35b commit 1a363c1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/stress/stress.py
Expand Up @@ -13,12 +13,7 @@ def setup(self, tarball = 'stress-0.18.8.tar.gz'):
system('./configure')
system('make')

def execute(self, iterations = 1, args_list = ''):
if len(args_list) != 0:
args = '' + args_list
else:
args = '-c 4 -t 50 -v'

def execute(self, iterations = 1, args_list = '-c 4 -t 50 -v'):
for i in range(1, iterations+1):
system(self.srcdir + '/src/stress ' + args)

Expand Down

0 comments on commit 1a363c1

Please sign in to comment.