|
|
@ -689,7 +689,9 @@ def write_cmdlog_maybe(cmdlog, filename): |
|
|
|
with open(filename, 'w') as logfile: |
|
|
|
with open(filename, 'w') as logfile: |
|
|
|
logfile.write('#!/bin/bash\n') |
|
|
|
logfile.write('#!/bin/bash\n') |
|
|
|
logfile.write('# DO NOT MODIFY\n') |
|
|
|
logfile.write('# DO NOT MODIFY\n') |
|
|
|
logfile.write('# This file is generated by run_interop_tests.py/create_testcases.sh\n') |
|
|
|
logfile.write( |
|
|
|
|
|
|
|
'# This file is generated by run_interop_tests.py/create_testcases.sh\n' |
|
|
|
|
|
|
|
) |
|
|
|
logfile.writelines("%s\n" % line for line in cmdlog) |
|
|
|
logfile.writelines("%s\n" % line for line in cmdlog) |
|
|
|
print('Command log written to file %s' % filename) |
|
|
|
print('Command log written to file %s' % filename) |
|
|
|
|
|
|
|
|
|
|
|