We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0206afd commit 2399ba0Copy full SHA for 2399ba0
lldb/test/Shell/SwiftREPL/RedirectInputNoSuchFile.test
@@ -0,0 +1,8 @@
1
+// Test that input can't be redirected from non-existent file A.swift
2
+
3
+// RUN: mkdir -p %t
4
+// RUN: cd %t
5
+// RUN: %lldb --repl < %s 2>&1 | FileCheck %s --check-prefix=LLDB
6
7
+< A.swift
8
+// LLDB: no such file at path 'A.swift'
lldb/test/Shell/SwiftREPL/RedirectInputUnreadable.test
@@ -0,0 +1,10 @@
+// Test that input can't be redirected from unreadable A.swift
+// RUN: cp %S/Inputs/A.swift %t/A.swift
+// RUN: chmod -r %t/A.swift
9
10
+// LLDB: could not read file at path 'A.swift'
0 commit comments