summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-replace/conflict.cpp
blob: 5b79401fc099dfc36f45c72a3825545be05daa60 (plain)
1
2
3
4
5
6
7
// RUN: mkdir -p %T/conflict
// RUN: sed "s#\$(path)#%/S/conflict#" %S/conflict/file1.yaml > %T/conflict/file1.yaml
// RUN: sed "s#\$(path)#%/S/conflict#" %S/conflict/file2.yaml > %T/conflict/file2.yaml
// RUN: sed "s#\$(path)#%/S/conflict#" %S/conflict/file3.yaml > %T/conflict/file3.yaml
// RUN: sed "s#\$(path)#%/S/conflict#" %S/conflict/expected.txt > %T/conflict/expected.txt
// RUN: not clang-replace %T/conflict > %T/conflict/output.txt 2>&1
// RUN: diff -b %T/conflict/output.txt %T/conflict/expected.txt
OpenPOWER on IntegriCloud