summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2018-05-18 15:57:39 +1200
committerAndrew Bartlett <abartlet@samba.org>2018-05-24 00:42:48 +0200
commit0e11fabbfaf201e733cee7d39559714fb4a18c17 (patch)
tree624174087a80faaa798a0b83ed2d7536adf1e5de /script
parenta092a6650017290efd80eb73bdfc3a09be95f025 (diff)
downloadsamba-0e11fabbfaf201e733cee7d39559714fb4a18c17.tar.gz
autobuild: Include information of disk free in system-info.txt
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu May 24 00:42:48 CEST 2018 on sn-devel-144
Diffstat (limited to 'script')
-rwxr-xr-xscript/autobuild.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index 5fff092d37a..2d71b5ea305 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -523,7 +523,8 @@ class buildlist(object):
def write_system_info(self):
filename = 'system-info.txt'
f = open(filename, 'w')
- for cmd in ['uname -a', 'free', 'cat /proc/cpuinfo', 'cc --version']:
+ for cmd in ['uname -a', 'free', 'cat /proc/cpuinfo',
+ 'cc --version', 'df -m .', 'df -m %s' % testbase]:
print('### %s' % cmd, file=f)
print(run_cmd(cmd, output=True, checkfail=False), file=f)
print(file=f)