Skip to content

Commit

Permalink
[compiler-rt] [test] Add missing %run to fread_fwrite MSAN test
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mgorny committed Dec 19, 2019
1 parent 6a7df3a commit 2034570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler-rt/test/msan/fread_fwrite.cpp
Original file line number Diff line number Diff line change
@@ -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>
Expand Down

0 comments on commit 2034570

Please sign in to comment.