1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/utils/lit/tests/Inputs/shtest-shell/diff-r-error-1.txt
Max Moroz 64c109e669 [lit] Implement "-r" option for builtin "diff" command + a test using that.
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
2018-01-09 18:23:34 +00:00

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