We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c67c79d commit 9f5835cCopy full SHA for 9f5835c
Sources/LiteSupport/TestRunner.swift
@@ -252,7 +252,7 @@ class TestRunner {
252
let exitCode: Int
253
let bash = file.makeCommandLine(line, substitutor: substitutor)
254
do {
255
- let args = bash.split(separator: " ").map { String($0 as Substring) }
+ let args = ["/bin/bash", "-c", bash]
256
let result = try Process.popen(arguments: args)
257
stdout = try result.utf8Output().chomp()
258
stderr = ""
Sources/lite-test/main.swift
@@ -7,7 +7,7 @@ import LiteSupport
7
/// Runs `lite` looking for `.test` files and executing them.
8
9
let allPassed = try runLite(
10
- substitutions: [("echo", "echo")],
+ substitutions: [("echo", "/bin/echo")],
11
pathExtensions: ["test"],
12
testDirPath: nil,
13
testLinePrefix: "//",
0 commit comments