mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
selftests: capabilities: fix to run Non-root +ia, sgidroot => i test
do_tests() runs sgidnonroot test without fork_wait(). As a result the last test "Non-root +ia, sgidroot => i test" is left out. Fix it. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
This commit is contained in:
parent
3e18b64174
commit
52888fe43e
1 changed files with 2 additions and 1 deletions
|
|
@ -380,7 +380,8 @@ static int do_tests(int uid, const char *our_path)
|
|||
true, true, true, false);
|
||||
} else {
|
||||
printf("[RUN]\tNon-root +ia, sgidnonroot => i\n");
|
||||
exec_other_validate_cap("./validate_cap_sgidnonroot",
|
||||
if (fork_wait())
|
||||
exec_other_validate_cap("./validate_cap_sgidnonroot",
|
||||
false, false, true, false);
|
||||
|
||||
if (fork_wait()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue