forked from Imagelibrary/rtems
shell01: Fix test failure
Test failure was introduced by commit:
commit c4f9759068
Author: shuhua hua <huangshuhua@kylinos.cn>
Date: Thu Sep 12 02:36:13 2024 +0000
libtests/shell01:add test empty and NULL usernames check
This commit is contained in:
committed by
Gedare Bloom
parent
9fabe95dc6
commit
3f7fdcc711
@@ -243,7 +243,7 @@ static void test(void)
|
||||
rtems_test_assert(!ok);
|
||||
|
||||
ok = rtems_shell_login_check(NULL, NULL);
|
||||
rtems_test_assert(ok);
|
||||
rtems_test_assert(!ok);
|
||||
|
||||
rtems_test_assert(getuid() == 0);
|
||||
rtems_test_assert(geteuid() == 0);
|
||||
|
||||
Reference in New Issue
Block a user