mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
64c109e669
Summary: That would allow to recursively compare directories in tests using "diff -r" on Windows in a similar way as it can be done on Linux or Mac. Reviewers: zturner, morehouse, vsk Reviewed By: zturner Subscribers: kcc, llvm-commits Differential Revision: https://reviews.llvm.org/D41776 llvm-svn: 322102
10 lines
346 B
Plaintext
10 lines
346 B
Plaintext
# Create two directories for further comparison.
|
|
# RUN: rm -rf %t/dir1 %t/dir2
|
|
# RUN: mkdir -p %t/dir1 %t/dir2
|
|
|
|
# Same filenames in subdirs with different content, "diff -r" should fail.
|
|
# RUN: mkdir -p %t/dir1/subdir %t/dir2/subdir
|
|
# RUN: echo "12345" > %t/dir1/subdir/f01
|
|
# RUN: echo "00000" > %t/dir2/subdir/f01
|
|
# RUN: diff -r %t/dir1 %t/dir2
|