mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-31 17:31:18 +01:00
tests/sys/struct_tm_utility: do not test shell help command
This commit is contained in:
parent
e48b310b76
commit
6abf12fb41
@ -205,7 +205,7 @@ static int _get_event_cb(int argc, char **argv)
|
||||
return 0;
|
||||
}
|
||||
|
||||
SHELL_COMMAND(get_event_cb,#
|
||||
SHELL_COMMAND(get_event_cb,
|
||||
"Get state of cong_event_cb mock of CongURE state object", _get_event_cb);
|
||||
|
||||
/** @} */
|
||||
|
||||
@ -12,20 +12,6 @@ import datetime
|
||||
from testrunner import run
|
||||
|
||||
|
||||
def _check_help(child):
|
||||
child.sendline('help')
|
||||
child.expect_exact('Command Description')
|
||||
child.expect_exact('---------------------------------------')
|
||||
child.expect_exact('days_in '
|
||||
'Tells you the number of days in a month.')
|
||||
child.expect_exact('leap_year '
|
||||
'Tells you if a supplied year is a leap year.')
|
||||
child.expect_exact('doomsday '
|
||||
'Tells you the wday Doomsday of the supplied year.')
|
||||
child.expect_exact('day '
|
||||
'Tells you the day of the supplied date.')
|
||||
|
||||
|
||||
def _check_days_in(child):
|
||||
# verify usage
|
||||
child.sendline('days_in')
|
||||
@ -112,7 +98,6 @@ def _wait_prompt(child):
|
||||
|
||||
def testfunc(child):
|
||||
_wait_prompt(child)
|
||||
_check_help(child)
|
||||
_check_days_in(child)
|
||||
_check_leap_year(child)
|
||||
_check_doomsday(child)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user