forked from OSchip/llvm-project
Changing the command line parameters sent to diff for this test.
On some systems, -U 1 was being interpreted as -U -1. Trying -U1 to see if that's the universally accepted approach instead. llvm-svn: 345649
This commit is contained in:
parent
e0799a7268
commit
f6e3d147e9
|
@ -7,7 +7,7 @@
|
|||
"fileLocation": {
|
||||
"uri": "file:sarif-diagnostics-taint-test.c"
|
||||
},
|
||||
"length": 501,
|
||||
"length": 500,
|
||||
"mimeType": "text/plain",
|
||||
"roles": [
|
||||
"resultFile"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// RUN: %clang_analyze_cc1 -analyzer-checker=alpha.security.taint,debug.TaintTest %s -verify -analyzer-output=sarif -o - | diff -U 1 -w -I ".*file:.*sarif-diagnostics-taint-test.c" -I "clang version" -I "2\.0\.0\-beta\." - %S/Inputs/expected-sarif/sarif-diagnostics-taint-test.c.sarif
|
||||
// RUN: %clang_analyze_cc1 -analyzer-checker=alpha.security.taint,debug.TaintTest %s -verify -analyzer-output=sarif -o - | diff -U1 -w -I ".*file:.*sarif-diagnostics-taint-test.c" -I "clang version" -I "2\.0\.0\-beta\." - %S/Inputs/expected-sarif/sarif-diagnostics-taint-test.c.sarif
|
||||
#include "../Inputs/system-header-simulator.h"
|
||||
|
||||
int atoi(const char *nptr);
|
||||
|
|
Loading…
Reference in New Issue