2017-12-06 21:23:55 +01:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
|
|
|
|
# Copyright (C) 2017 HAW Hamburg
|
|
|
|
#
|
|
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
# directory for more details.
|
|
|
|
|
|
|
|
import sys
|
2018-08-10 14:23:13 +02:00
|
|
|
from testrunner import run
|
2017-12-06 21:23:55 +01:00
|
|
|
|
|
|
|
|
|
|
|
def testfunc(child):
|
2018-05-08 11:38:23 +02:00
|
|
|
for i in range(10):
|
2017-12-06 21:23:55 +01:00
|
|
|
child.expect(r"\[ALIVE\] alternated \d+k times.")
|
|
|
|
|
2017-12-12 15:43:27 +01:00
|
|
|
|
2017-12-06 21:23:55 +01:00
|
|
|
if __name__ == "__main__":
|
2017-12-12 22:40:03 +01:00
|
|
|
sys.exit(run(testfunc))
|