Revert "[MSAN] adjust Posix/timer.cpp"

This reverts commit f2a9753680.

breaks buildbot
This commit is contained in:
Kevin Athey 2022-03-09 14:55:12 -08:00
parent b48fe158e0
commit b5e985e6f3
1 changed files with 0 additions and 4 deletions

View File

@ -1,7 +1,5 @@
// RUN: %clangxx -O0 -g %s -o %t && %run %t
// UNSUPPORTED: darwin
// FIXME: SEGV - API mismatch?
// UNSUPPORTED: s390
#include <assert.h>
#include <signal.h>
#include <stdio.h>
@ -20,8 +18,6 @@ int main(int argc, char **argv) {
new_value.it_interval.tv_sec = new_value.it_value.tv_sec;
new_value.it_interval.tv_nsec = new_value.it_value.tv_nsec;
assert(timer_settime(timerid, 0, &new_value, nullptr) == 0);
struct itimerspec old_value;
assert(timer_settime(timerid, 0, &new_value, &old_value) == 0);
assert(old_value.it_interval.tv_sec == new_value.it_interval.tv_sec);