diff options
| author | shandianchengzi <[email protected]> | 2023-05-18 22:42:44 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-18 10:42:44 -0400 |
| commit | a294d7da9a9be335dd8bae8bf688ce88fa58a83f (patch) | |
| tree | 0b7c21221e70be410523a04a3891ad70650fabe3 /examples/utest/testcases | |
| parent | c349fe68b8046a54aa33cdfd7471a6e2effe7cae (diff) | |
[HUST CSE][example] fix some typo bugs about 'sucess' and others. (#7528)
Diffstat (limited to 'examples/utest/testcases')
| -rw-r--r-- | examples/utest/testcases/posix/pthread_h/functions/testfrmw/threads_scenarii.c | 8 | ||||
| -rw-r--r-- | examples/utest/testcases/posix/stdio_h/functions/fclose_tc.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/examples/utest/testcases/posix/pthread_h/functions/testfrmw/threads_scenarii.c b/examples/utest/testcases/posix/pthread_h/functions/testfrmw/threads_scenarii.c index 3f5a9845cf..f4976388e0 100644 --- a/examples/utest/testcases/posix/pthread_h/functions/testfrmw/threads_scenarii.c +++ b/examples/utest/testcases/posix/pthread_h/functions/testfrmw/threads_scenarii.c @@ -246,7 +246,7 @@ static void scenar_init(void) " PTHREAD_CREATE_JOINABLE"); } #if VERBOSE > 4 - output("Detach state was set sucessfully\n"); + output("Detach state was set successfully\n"); #endif /* Sched related attributes */ @@ -269,7 +269,7 @@ static void scenar_init(void) UNRESOLVED(ret, "Unable to set inheritsched" " attribute"); #if VERBOSE > 4 - output("inheritsched state was set sucessfully\n"); + output("inheritsched state was set successfully\n"); #endif } #if VERBOSE > 4 @@ -292,7 +292,7 @@ static void scenar_init(void) " sched policy"); #if VERBOSE > 4 if (scenarii[i].schedpolicy) - output("Sched policy was set sucessfully\n"); + output("Sched policy was set successfully\n"); else output("Sched policy untouched\n"); #endif @@ -323,7 +323,7 @@ static void scenar_init(void) "Failed to set the sched param"); #if VERBOSE > 4 - output("Sched param was set sucessfully to %i\n", + output("Sched param was set successfully to %i\n", sp.sched_priority); } else { output("Sched param untouched\n"); diff --git a/examples/utest/testcases/posix/stdio_h/functions/fclose_tc.c b/examples/utest/testcases/posix/stdio_h/functions/fclose_tc.c index c182283bbd..fef2235d4b 100644 --- a/examples/utest/testcases/posix/stdio_h/functions/fclose_tc.c +++ b/examples/utest/testcases/posix/stdio_h/functions/fclose_tc.c @@ -16,7 +16,7 @@ static int fclose_entry(void) } else { - printf("fclose sucess \n"); + printf("fclose success \n"); } return 0; } |
