mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #45112 from Ch3LL/fix-arch
Fix spm big file build test to check /tmp
This commit is contained in:
commit
9550e742ac
1 changed files with 3 additions and 3 deletions
|
@ -42,9 +42,9 @@ class SPMBuildTest(SPMCase, ModuleCase):
|
|||
test spm build with a big file
|
||||
'''
|
||||
# check to make sure there is enough space to run this test
|
||||
check_space = self.run_function('status.diskusage', ['/'])
|
||||
space = check_space['/']['available']
|
||||
if space < 2000000:
|
||||
check_space = self.run_function('status.diskusage', ['/tmp'])
|
||||
space = check_space['/tmp']['available']
|
||||
if space < 3000000000:
|
||||
self.skipTest('Not enough space on host to run this test')
|
||||
|
||||
big_file = self.run_function('cmd.run',
|
||||
|
|
Loading…
Add table
Reference in a new issue