[NFC][Py Reformat] Reformat python files in llvm
[llvm-project.git] / llvm / test / Other / lit-quoting.txt
blob76dc67956a2904c0e48f92d405ab8cf52263d7f3
1 RUN: printf "%%s\n" "\"" | FileCheck %s --check-prefix=CHECK1
2 RUN: printf "%%s\n" '"' | FileCheck %s --check-prefix=CHECK1
3 RUN: printf "%%s\n" 'a[b\c' | FileCheck %s --check-prefix=CHECK2
4 RUN: printf "%%s\n" "a[b\\c" | FileCheck %s --check-prefix=CHECK2
5 RUN: printf "%%s\n" 'a\b\\c\\\\d' | FileCheck %s --check-prefix=CHECK3
6 RUN: printf "%%s\n" "a\\b\\\\c\\\\\\\\d" | FileCheck %s --check-prefix=CHECK3
7 CHECK1: {{^"$}}
8 CHECK2: {{^a\[b\\c$}}
9 CHECK3: {{^a\\b\\\\c\\\\\\\\d$}}
11 On Windows, with MSYS based tools, the following commands fail though:
12 RUNX: printf "%%s\n" 'a[b\c\\d' | FileCheck %s --check-prefix=CHECK4
13 RUNX: printf "%%s\n" "a[b\\c\\\\d" | FileCheck %s --check-prefix=CHECK4
14 CHECK4: {{^a\[b\\c\\\\d$}}