test_ipv4_variable_time.py: Test finishes print where Report Data stored, lf_ftp_test.py: changed permissions

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-04-07 04:45:54 -06:00
parent f6d8e6463e
commit f2212a2be2
2 changed files with 4 additions and 2 deletions

View File

@@ -283,7 +283,7 @@ python3 ./test_ipv4_variable_time.py
if args.report_file is None:
new_file_path = str(datetime.datetime.now().strftime("%Y-%m-%d-%H-h-%M-m-%S-s")).replace(':',
'-') + '-test_ipv4_variable_time' # create path name
'-') + '_test_ipv4_variable_time' # create path name
try:
path = os.path.join('/home/lanforge/report-data/', new_file_path)
os.mkdir(path)
@@ -309,7 +309,7 @@ python3 ./test_ipv4_variable_time.py
output = str(args.report_file).split('.')[-1]
else:
output = args.output_format
print("Saving final report data in ... " + report_f)
print("IPv4 Test Report Data: {}".format(report_f))
# Retrieve last data file
compared_rept = None
@@ -401,6 +401,8 @@ python3 ./test_ipv4_variable_time.py
if ip_var_test.passes():
ip_var_test.exit_success()
print("IPv4 Test Report Data: {}".format(report_f))
if __name__ == "__main__":
main()