From 5594866a64587e716922f894c7a0dac0ef857c10 Mon Sep 17 00:00:00 2001 From: George Karpenkov Date: Tue, 11 Sep 2018 18:45:15 +0000 Subject: [analyzer] [NFC] Change the tests by making the version check more resilient llvm-svn: 341978 --- clang/test/Analysis/unix-fns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/Analysis/unix-fns.c') diff --git a/clang/test/Analysis/unix-fns.c b/clang/test/Analysis/unix-fns.c index 0b33874ac36..7cba4e62d20 100644 --- a/clang/test/Analysis/unix-fns.c +++ b/clang/test/Analysis/unix-fns.c @@ -1,5 +1,5 @@ // RUN: %clang_analyze_cc1 -triple x86_64-apple-darwin10 -analyzer-checker=core,unix.API,osx.API,optin.portability %s -analyzer-store=region -analyzer-output=plist -analyzer-config faux-bodies=true -fblocks -verify -o %t.plist -// RUN: cat %t.plist | diff -u -w -I "/" -I ".:" -I "clang version" - %S/Inputs/expected-plists/unix-fns.c.plist +// RUN: cat %t.plist | diff -u -w -I "/" -I ".:" -I "version" - %S/Inputs/expected-plists/unix-fns.c.plist // RUN: mkdir -p %t.dir // RUN: %clang_analyze_cc1 -analyzer-checker=core,unix.API,osx.API,optin.portability -analyzer-output=html -analyzer-config faux-bodies=true -fblocks -o %t.dir %s // RUN: rm -fR %t.dir -- cgit v1.2.3