diff options
author | Kevin Athey <kda@google.com> | 2022-03-09 14:55:12 -0800 |
---|---|---|
committer | Kevin Athey <kda@google.com> | 2022-03-09 14:55:12 -0800 |
commit | b5e985e6f391439164d465ffc8037bc8a73073dd (patch) | |
tree | e980185fd7b64a27ce69254a42e4f450bdec2ef1 | |
parent | b48fe158e0a8d77fd3e28e90e512589601680ad8 (diff) |
Revert "[MSAN] adjust Posix/timer.cpp"
This reverts commit f2a97536809588f1748d32d2e79c9a2a6b4ec335.
breaks buildbot
-rw-r--r-- | compiler-rt/test/sanitizer_common/TestCases/Posix/timer.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Posix/timer.cpp b/compiler-rt/test/sanitizer_common/TestCases/Posix/timer.cpp index 8a9652c4534f..1c5f17cf0923 100644 --- a/compiler-rt/test/sanitizer_common/TestCases/Posix/timer.cpp +++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/timer.cpp @@ -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); |