Skip to content

Commit d31d97b

Browse files
committed
test: avoid '[success] success' messages
1 parent 5506289 commit d31d97b

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

test/posix/integration/file_fd/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def increment(line):
2727

2828
def check_num_outputs(line):
2929
assert(num_outputs == 1)
30-
vmrunner.vms[0].exit(0, "SUCCESS")
30+
vmrunner.vms[0].exit(0, "All tests passed")
3131
return True
3232

3333
vm.on_output("All \d+ selected tests passed", increment)

test/posix/integration/syslog_default/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def increment(line):
3131

3232
def check_num_outputs(line):
3333
assert(num_outputs == 53)
34-
vmrunner.vms[0].exit(0, "SUCCESS")
34+
vmrunner.vms[0].exit(0, "All tests passed")
3535

3636
# ---------- POSIX wrapper syslog ----------
3737

test/posix/integration/utsname/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def increment(line):
2121

2222
def check_num_outputs(line):
2323
assert(num_outputs == 5)
24-
vmrunner.vms[0].exit(0, "SUCCESS")
24+
vmrunner.vms[0].exit(0, "All tests passed", True)
2525

2626
vm.on_output("Sysname: IncludeOS", increment)
2727
vm.on_output("Nodename: IncludeOS-node", increment)

test/util/integration/tar/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def check_num_outputs(line):
4141
assert(num_header1 == 17)
4242
assert(num_content == 5)
4343
assert(num_header2 == 17)
44-
vmrunner.vms[0].exit(0, "SUCCESS")
44+
vmrunner.vms[0].exit(0, "All tests passed")
4545

4646
# All elements in tarball
4747
vm.on_output("tar_example/ - element", increment_element)

test/util/integration/tar_gz/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def check_num_outputs(line):
4141
assert(num_header1 == 17)
4242
assert(num_content == 5)
4343
assert(num_header2 == 17)
44-
vmrunner.vms[0].exit(0, "SUCCESS")
44+
vmrunner.vms[0].exit(0, "All tests passed")
4545

4646
# All elements in tarball
4747
vm.on_output("tar_example/ - element", increment_element)

0 commit comments

Comments
 (0)