[rtsan] Fix issue when intercepted function was not execve in test (#144018)
This commit is contained in:
@@ -45,7 +45,12 @@ int main() MAYBE_NONBLOCKING {
|
||||
}
|
||||
|
||||
// CHECK-NOHALT: Intercepted call to {{.*}} `fork` {{.*}}
|
||||
// CHECK-NOHALT: Intercepted call to {{.*}} `execve` {{.*}}
|
||||
|
||||
// We should also get some other intercepted call. On some systems this
|
||||
// is `execve`, on others, it's a lock to set up `execve`. In either
|
||||
// case, just check that we get a second intercepted call, don't sweat
|
||||
// the name.
|
||||
// CHECK-NOHALT: Intercepted call to {{.*}}
|
||||
|
||||
// usleep checks that rtsan is still enabled in the parent process
|
||||
// See note in our interceptors file for why we don't look for `wait`
|
||||
|
||||
Reference in New Issue
Block a user