Skip to content

Commit ebd6d8c

Browse files
authored
Merge pull request swiftlang#84605 from ramonasuncion/test-ide-tail-diff
[Test][IDE] Replace process substitution with temp file for internal shell
2 parents af3a5d8 + 1ba5cbc commit ebd6d8c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

test/IDE/print_clang_bool_bridging.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// RUN: %empty-directory(%t)
22

33
// RUN: %target-swift-ide-test -print-module -source-filename %s -module-to-print=BoolBridgingTests -function-definitions=false -skip-unavailable -F %S/Inputs/mock-sdk > %t.txt
4-
// RUN: diff -u <(tail -n +9 %s) %t.txt
4+
// RUN: tail -n +10 %s > %t/a
5+
// RUN: diff -u %t/a %t.txt
56

67
// REQUIRES: objc_interop
78

test/IDE/print_clang_swift_name.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
// RUN: %empty-directory(%t)
22

33
// RUN: %target-swift-ide-test(mock-sdk: %clang-importer-sdk) -print-module -source-filename %s -module-to-print=SwiftNameTests -function-definitions=false -F %S/Inputs/mock-sdk > %t.txt
4-
// RUN: diff -u <(tail -n +9 %s) %t.txt
4+
// RUN: tail -n +10 %s > %t/a
5+
// RUN: diff -u %t/a %t.txt
56

67
// REQUIRES: objc_interop
78

0 commit comments

Comments
 (0)