We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 864d7cf commit 4a79796Copy full SHA for 4a79796
1 file changed
test/kernel/integration/kprint/test.py
@@ -29,7 +29,8 @@ def check_truncation(line):
29
30
print "Received truncated string: ", line, "of size", len(line), "(format size * ", len(line)/format_string_size,")"
31
assert(len(line) <= format_string_size * 2)
32
- assert(line.strip().split(" ")[-1] != "END")
+ # truncated outputs are unacceptable :)
33
+ assert(line.strip().split(" ")[-1] == "END")
34
35
vm.on_output("I can print hex", check_hex)
36
vm.on_output("String", set_format_string_size)
0 commit comments