summaryrefslogtreecommitdiff
path: root/test/asan/TestCases/Posix
diff options
context:
space:
mode:
authorKuba Mracek <mracek@apple.com>2017-04-26 20:20:35 +0000
committerKuba Mracek <mracek@apple.com>2017-04-26 20:20:35 +0000
commit9553ac23b8a5c0be8eb81e4d802962c9098ba5bf (patch)
treeb0d5d352cbc81825deb3ccf4b4706732adaf2edb /test/asan/TestCases/Posix
parentca256e1217bb9d0a7a0910a2afed86101b6ce5ae (diff)
Add a missing "%run" expansion to fread_fwrite.cc test case to support testing on iOS simulator.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@301455 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/asan/TestCases/Posix')
-rw-r--r--test/asan/TestCases/Posix/fread_fwrite.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/asan/TestCases/Posix/fread_fwrite.cc b/test/asan/TestCases/Posix/fread_fwrite.cc
index 97d44b752..c06292604 100644
--- a/test/asan/TestCases/Posix/fread_fwrite.cc
+++ b/test/asan/TestCases/Posix/fread_fwrite.cc
@@ -1,6 +1,6 @@
// RUN: %clangxx_asan -g %s -o %t
-// RUN: not %t 2>&1 | FileCheck %s --check-prefix=CHECK-FWRITE
-// RUN: not %t 1 2>&1 | FileCheck %s --check-prefix=CHECK-FREAD
+// RUN: not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-FWRITE
+// RUN: not %run %t 1 2>&1 | FileCheck %s --check-prefix=CHECK-FREAD
#include <stdio.h>
#include <stdlib.h>