diff --git a/compiler-rt/test/sanitizer_common/TestCases/Posix/timer.cpp b/compiler-rt/test/sanitizer_common/TestCases/Posix/timer.cpp --- a/compiler-rt/test/sanitizer_common/TestCases/Posix/timer.cpp +++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/timer.cpp @@ -1,5 +1,7 @@ // RUN: %clangxx -O0 -g %s -o %t && %run %t // UNSUPPORTED: darwin +// FIXME: SEGV - API mismatch? +// UNSUPPORTED: s390 #include #include #include @@ -18,6 +20,8 @@ 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);