mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Adjust some of the tests to improve the pass rate on Windows. This involves using less shell syntax, quoting instead of escaping slashes and accepting the windows path separator.
9 lines
861 B
Swift
9 lines
861 B
Swift
// RUN: not %swift -c %s -vfsoverlay first-missing-overlay.yaml -vfsoverlay next-missing-overlay.yaml -vfsoverlay final-missing-overlay.yaml 2>&1 | %FileCheck %s -check-prefix=MISSING_VFS_OVERLAYS
|
|
// RUN: not %swift -c %s -vfsoverlay %S/Inputs/invalid-overlay.yaml 2>&1 | %FileCheck %s -check-prefix=INVALID_VFS_OVERLAY
|
|
|
|
// MISSING_VFS_OVERLAYS: <unknown>:0: error: cannot open file '{{.*}}{{/|\\}}first-missing-overlay.yaml' ({{[Nn]}}o such file or directory)
|
|
// MISSING_VFS_OVERLAYS-NEXT: <unknown>:0: error: cannot open file '{{.*}}{{/|\\}}next-missing-overlay.yaml' ({{[Nn]}}o such file or directory)
|
|
// MISSING_VFS_OVERLAYS-NEXT: <unknown>:0: error: cannot open file '{{.*}}{{/|\\}}final-missing-overlay.yaml' ({{[Nn]}}o such file or directory)
|
|
|
|
// INVALID_VFS_OVERLAY: <unknown>:0: error: invalid virtual overlay file '{{.*}}{{/|\\}}invalid-overlay.yaml'
|