mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Run more tests with sanitizers and coverage
PiperOrigin-RevId: 562768789 Change-Id: I2ee9e05a75a1f4e46887ef4c6587628f36ba16eb
This commit is contained in:
parent
92aeadddee
commit
98d7f91b4d
|
@ -74,7 +74,6 @@ TEST_P(IPCTest, MapFDByNamePreExecve) {
|
||||||
// This test verifies that mapping fds by name works if SandboxMeHere() is
|
// This test verifies that mapping fds by name works if SandboxMeHere() is
|
||||||
// called by the sandboxee.
|
// called by the sandboxee.
|
||||||
TEST_P(IPCTest, MapFDByNamePostExecve) {
|
TEST_P(IPCTest, MapFDByNamePostExecve) {
|
||||||
SKIP_SANITIZERS_AND_COVERAGE;
|
|
||||||
const int fd = GetParam();
|
const int fd = GetParam();
|
||||||
const std::string path = GetTestSourcePath("sandbox2/testcases/ipc");
|
const std::string path = GetTestSourcePath("sandbox2/testcases/ipc");
|
||||||
std::vector<std::string> args = {path, "2", std::to_string(fd)};
|
std::vector<std::string> args = {path, "2", std::to_string(fd)};
|
||||||
|
@ -106,7 +105,6 @@ TEST_P(IPCTest, MapFDByNamePostExecve) {
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(IPCTest, NoMappedFDsPreExecve) {
|
TEST(IPCTest, NoMappedFDsPreExecve) {
|
||||||
SKIP_SANITIZERS_AND_COVERAGE;
|
|
||||||
const std::string path = GetTestSourcePath("sandbox2/testcases/ipc");
|
const std::string path = GetTestSourcePath("sandbox2/testcases/ipc");
|
||||||
std::vector<std::string> args = {path, "3"};
|
std::vector<std::string> args = {path, "3"};
|
||||||
auto executor = std::make_unique<Executor>(path, args);
|
auto executor = std::make_unique<Executor>(path, args);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user