Skip to content

Commit 17087cb

Browse files
committed
Correct for difference between BSD and GNU cp
1 parent d9c9405 commit 17087cb

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

test/CrossImport/horrible.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %empty-directory(%t)
2-
// RUN: cp -r %S/Inputs/lib-templates/ %t/
2+
// RUN: cp -r %S/Inputs/lib-templates/* %t/
33

44
// RUN: %target-typecheck-verify-swift -enable-cross-import-overlays -I %t/lib/swift
55

test/CrossImport/loading.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// kind of module that supports them.
33

44
// RUN: %empty-directory(%t)
5-
// RUN: cp -r %S/Inputs/lib-templates/ %t/
5+
// RUN: cp -r %S/Inputs/lib-templates/* %t/
66
// RUN: %{python} %S/Inputs/rewrite-module-triples.py %t %module-target-triple
77

88
//

test/CrossImport/module-interface.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// This file tests that we emit cross-imports into module interfaces.
22

33
// RUN: %empty-directory(%t)
4-
// RUN: cp -r %S/Inputs/lib-templates/ %t/
4+
// RUN: cp -r %S/Inputs/lib-templates/* %t/
55

66
//
77
// Should pass with -enable-cross-import-overlays

test/CrossImport/module-trace.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// This file tests that we emit cross-imports into module interfaces.
22

33
// RUN: %empty-directory(%t)
4-
// RUN: cp -r %S/Inputs/lib-templates/ %t/
4+
// RUN: cp -r %S/Inputs/lib-templates/* %t/
55

66
// RUN: %target-swift-frontend -enable-cross-import-overlays -I %t/lib/swift -typecheck %s -module-name main -swift-version 5 -emit-loaded-module-trace-path - | %FileCheck %s
77

test/CrossImport/negative.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// normally would do so.
44

55
// RUN: %empty-directory(%t)
6-
// RUN: cp -r %S/Inputs/lib-templates/ %t/
6+
// RUN: cp -r %S/Inputs/lib-templates/* %t/
77

88
//
99
// The current module is the defining module, bystanding module, or overlay.

test/CrossImport/scoped.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// overlays.
33

44
// RUN: %empty-directory(%t)
5-
// RUN: cp -r %S/Inputs/lib-templates/ %t/
5+
// RUN: cp -r %S/Inputs/lib-templates/* %t/
66

77
// RUN: %target-typecheck-verify-swift -enable-cross-import-overlays -I %t/include -I %t/lib/swift -F %t/Frameworks
88
// RUN: %target-typecheck-verify-swift -enable-cross-import-overlays -I %t/include -I %t/lib/swift -F %t/Frameworks -DBYSTANDING_SCOPED

test/CrossImport/transitive.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// This file tests that re-exports can load a cross-import overlay.
22

33
// RUN: %empty-directory(%t)
4-
// RUN: cp -r %S/Inputs/lib-templates/ %t/
4+
// RUN: cp -r %S/Inputs/lib-templates/* %t/
55

66
// RUN: %target-typecheck-verify-swift -enable-cross-import-overlays -I %t/include -I %t/lib/swift -F %t/Frameworks -DDIRECT_FIRST
77
// RUN: %target-typecheck-verify-swift -enable-cross-import-overlays -I %t/include -I %t/lib/swift -F %t/Frameworks -DDIRECT_SECOND

0 commit comments

Comments
 (0)