summaryrefslogtreecommitdiffstats
path: root/testsuites
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites')
-rw-r--r--testsuites/sptests/spwatchdog/init.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuites/sptests/spwatchdog/init.c b/testsuites/sptests/spwatchdog/init.c
index 6e5e155a00..f027236434 100644
--- a/testsuites/sptests/spwatchdog/init.c
+++ b/testsuites/sptests/spwatchdog/init.c
@@ -57,6 +57,11 @@ static void test_watchdog_static_init( void )
rtems_test_assert( memcmp( &a, &b, sizeof( a ) ) == 0 );
}
+static void test_watchdog_config( void )
+{
+ rtems_test_assert( _Watchdog_Ticks_per_second == 100 );
+}
+
static bool test_watchdog_is_inactive( test_watchdog *watchdog )
{
return _Watchdog_Get_state( &watchdog->Base ) == WATCHDOG_INACTIVE;
@@ -227,6 +232,7 @@ rtems_task Init(
test_watchdog_operations();
test_watchdog_static_init();
+ test_watchdog_config();
build_time( &time, 12, 31, 1988, 9, 0, 0, 0 );