[compiler-rt] [test] Add missing %run to fread_fwrite MSAN test
authorMichał Górny <mgorny@gentoo.org>
Tue, 17 Dec 2019 20:30:59 +0000 (21:30 +0100)
committerMichał Górny <mgorny@gentoo.org>
Thu, 19 Dec 2019 19:28:00 +0000 (20:28 +0100)
Add a missing %run substitution to fread_fwrite test.  This fixes
the test on NetBSD where %run disables ASLR as necessary for MSAN
to function.

Differential Revision: https://reviews.llvm.org/D71623

compiler-rt/test/msan/fread_fwrite.cpp

index 3d50034..d6cace5 100644 (file)
@@ -1,5 +1,5 @@
 // RUN: %clangxx_msan -g %s -o %t
-// RUN: not %t 2>&1 | FileCheck %s
+// RUN: not %run %t 2>&1 | FileCheck %s
 // RUN: %t 1
 
 #include <stdio.h>