Skip to content

Commit

Permalink
Fix checkstyle (#259)
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Innes <[email protected]>
  • Loading branch information
andrewc12 authored Aug 6, 2023
1 parent 8723be4 commit 6281a8e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions contrib/windows/tests/ifstest.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,14 @@ def main():
for test in ['Test']:
preTest(str(test) + " tests:")
f = PureWindowsPath(get_driveletters()[0][1])
ret = runWithPrint([str(p.joinpath("ifs_test_kit", "ifstest.exe")), '-g', 'Virus', str(f), '/n', '.\\' + str(test) + 'Results.log', '/N', '356789AB', '/T', '/p', '/m', '/E', '-R', '/j', '/r', 'c:', '-d', '\\Ntfs', '-a', '\\datacoh.exe', '/u', 'ifstest', '/U', '*rw53w52'])
ret = runWithPrint([str(p.joinpath("ifs_test_kit",
"ifstest.exe")),
'-g', 'Virus', str(f), '/n',
'.\\' + str(test) + 'Results.log',
'/N', '356789AB', '/T', '/p', '/m',
'/E', '-R', '/j', '/r', 'c:', '-d',
'\\Ntfs', '-a', '\\datacoh.exe', '/u',
'ifstest', '/U', '*rw53w52'])

time.sleep(10)
if ret.returncode != 0:
Expand All @@ -240,14 +247,12 @@ def main():

lines = ret.stdout.decode().splitlines()
outlines = []
ignoreflag = True
for line in lines[13:]:
if "------------------" in line:
outlines.append("\n")
else:
outlines.append(line)


out = str(test) + "\n" + "\n".join(outlines)

print(out)
Expand Down

0 comments on commit 6281a8e

Please sign in to comment.