Files
swift-mirror/test/Frontend/bad-vfs-overlays.swift
Saleem Abdulrasool 86e600dc8e test: adjust Frontend tests for Windows
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.
2019-01-26 11:08:55 -08:00

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'