Skip to content

Commit 3394030

Browse files
authored
Merge pull request #4317 from hellohellenmao/3855
larger_buffer_with_none_cache_mode: enhance the output check
2 parents d2e8506 + b9c82ed commit 3394030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qemu/tests/larger_buffer_with_none_cache_mode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def run(test, params, env):
4646
)
4747
with open(strace_output_file) as fd:
4848
for line in fd.readlines():
49-
if int(line.split()[-1]) == 2097152:
49+
if line.split()[-1].isnumeric() and int(line.split()[-1]) == 2097152:
5050
break
5151
else:
5252
test.fail(

0 commit comments

Comments
 (0)