Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 52888fe4 authored by Shuah Khan's avatar Shuah Khan
Browse files

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: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent 3e18b641
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -380,6 +380,7 @@ static int do_tests(int uid, const char *our_path)
						true, true, true, false);
	} else {
		printf("[RUN]\tNon-root +ia, sgidnonroot => i\n");
		if (fork_wait())
			exec_other_validate_cap("./validate_cap_sgidnonroot",
					false, false, true, false);