autobuild: Include information of disk free in system-info.txt
authorAndrew Bartlett <abartlet@samba.org>
Fri, 18 May 2018 03:57:39 +0000 (15:57 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 23 May 2018 22:42:48 +0000 (00:42 +0200)
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

script/autobuild.py

index 5fff092d37a8dff15a9dc11c46e1a605271bd0ed..2d71b5ea3055fb8810db830c9e794df4e910b8bd 100755 (executable)
@@ -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)