def METHOD_NAME(child):
    # avoid sending an extra empty line on native.
    if BOARD == 'native':
        child.crlf = '\n'
    bufsize = check_and_get_bufsize(child)
    longline = "_" * (bufsize - len("verylong")) + "verylong"
    check_line_exceeded(child, longline)
    if RIOT_TERMINAL in CLEANTERMS:
        check_line_canceling(child)
    else:
        print("skipping check_line_canceling()")
    check_erase_long_line(child, longline)
    check_control_d(child)
    # loop other defined commands and expected output
    for cmd, expected in CMDS:
        if cmd == "reboot" and TESTRUNNER_SHELL_SKIP_REBOOT:
            continue
        check_cmd(child, cmd, expected)
    if RIOT_TERMINAL in CLEANTERMS:
        for cmd, expected in CMDS_CLEANTERM:
            check_cmd(child, cmd, expected)
    else:
        print("skipping cleanterm tests")