aboutsummaryrefslogtreecommitdiff
path: root/test/tsan/fork_atexit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/tsan/fork_atexit.cc')
-rw-r--r--test/tsan/fork_atexit.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/tsan/fork_atexit.cc b/test/tsan/fork_atexit.cc
index 6801d3ffff7e..51a64fc264d1 100644
--- a/test/tsan/fork_atexit.cc
+++ b/test/tsan/fork_atexit.cc
@@ -1,4 +1,5 @@
-// RUN: %clangxx_tsan -O1 %s -o %t && TSAN_OPTIONS="atexit_sleep_ms=50" %run %t 2>&1 | FileCheck %s
+// RUN: %clangxx_tsan -O1 %s -o %t && %env_tsan_opts=atexit_sleep_ms=50 %run %t 2>&1 | FileCheck %s
+// UNSUPPORTED: darwin
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>