Skip to content

Commit 4146d11

Browse files
vkalintirisjrose-apple
authored andcommitted
Fix the "tail" command to be compatible with coreutils. NFC. (#14408)
I had builds failing during testing because the tail command inside: test/IDE/print_clang_bool_bridging.swift, test/IDE/print_clang_swift_name.swift did not use the -n option. This should make the invocation of the default tail command compatible with the one provided by coreutils.
1 parent 9f9b417 commit 4146d11

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/IDE/print_clang_bool_bridging.swift

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

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

66
// REQUIRES: objc_interop
77

test/IDE/print_clang_swift_name.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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 -print-regular-comments -F %S/Inputs/mock-sdk > %t.txt
4-
// RUN: diff -u <(tail +9 %s) %t.txt
4+
// RUN: diff -u <(tail -n +9 %s) %t.txt
55

66
// REQUIRES: objc_interop
77

0 commit comments

Comments
 (0)