aboutsummaryrefslogtreecommitdiff
path: root/test/tsan/fork_deadlock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/tsan/fork_deadlock.cc')
-rw-r--r--test/tsan/fork_deadlock.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/tsan/fork_deadlock.cc b/test/tsan/fork_deadlock.cc
index 9418800bd336..22bed086f7d0 100644
--- a/test/tsan/fork_deadlock.cc
+++ b/test/tsan/fork_deadlock.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 "test.h"
#include <errno.h>
#include <sys/types.h>