File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ def increment(line):
2727
2828def 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
3333vm .on_output ("All \d+ selected tests passed" , increment )
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ def increment(line):
3131
3232def 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
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def increment(line):
2121
2222def 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
2626vm .on_output ("Sysname: IncludeOS" , increment )
2727vm .on_output ("Nodename: IncludeOS-node" , increment )
Original file line number Diff line number Diff 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
4747vm .on_output ("tar_example/ - element" , increment_element )
Original file line number Diff line number Diff 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
4747vm .on_output ("tar_example/ - element" , increment_element )
You can’t perform that action at this time.
0 commit comments