mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
show multi or single in diff filename
This commit is contained in:
parent
4640589c51
commit
21b8efdc89
@ -344,10 +344,13 @@ class TestRunner(object):
|
|||||||
"""
|
"""
|
||||||
copied = False
|
copied = False
|
||||||
|
|
||||||
|
# string for whether or it is single user or multi user for diff
|
||||||
|
mu_su_str = "multi" if test_data.isMultiUser else "single"
|
||||||
|
|
||||||
for file in glob.glob(test_data.output_path + "/*-Diff.txt"):
|
for file in glob.glob(test_data.output_path + "/*-Diff.txt"):
|
||||||
# Eg. copies HTML-Report-Diff.txt to <Image-name>-HTML-Report-Diff.txt
|
# Eg. copies HTML-Report-Diff.txt to <Image-name>-HTML-Report-Diff.txt
|
||||||
shutil.copy(file, test_data.main_config.args.diff_files_output_folder +
|
shutil.copy(file, test_data.main_config.args.diff_files_output_folder +
|
||||||
"/" + test_data.image + "-" + os.path.basename(file))
|
"/" + test_data.image + "-" + mus_su_str + "-" + os.path.basename(file))
|
||||||
copied = True
|
copied = True
|
||||||
if not copied:
|
if not copied:
|
||||||
print_report([], "NO DIFF FILES COPIED FROM " + test_data.output_path, "")
|
print_report([], "NO DIFF FILES COPIED FROM " + test_data.output_path, "")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user