提交 52888fe4 编写于 作者: S Shuah Khan

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: NShuah Khan <shuahkh@osg.samsung.com>
上级 3e18b641
......@@ -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()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册