This is an automated email from the ASF dual-hosted git repository.

archer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new bd1057285 testing/ostest: align wdog ostest with wdog bugfix
bd1057285 is described below

commit bd10572851c9eb5c8816de1e636b5b7e3a997692
Author: wangchengdong <[email protected]>
AuthorDate: Sun Nov 9 19:02:16 2025 +0800

    testing/ostest: align wdog ostest with wdog bugfix
    
        https://github.com/apache/nuttx/pull/17293 fixed
        wd_start bug, and this patch fixed the related ostest
        accordingly
    
    Signed-off-by: Chengdong Wang <[email protected]>
---
 testing/ostest/wdog.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testing/ostest/wdog.c b/testing/ostest/wdog.c
index 3243723b2..ca692f274 100644
--- a/testing/ostest/wdog.c
+++ b/testing/ostest/wdog.c
@@ -299,6 +299,7 @@ static void wdog_test_run(FAR wdtest_param_t *param)
   /* Maximum */
 
   delay = CLOCK_MAX >> 2;
+  delay -= 1;
   wdtest_assert(wd_start(&test_wdog, delay,
                          wdtest_callback, (wdparm_t)param) == OK);
 

Reply via email to