Skip to content

Commit

Permalink
Add bashCommandExecutionTest to check if CI linux machine can execute…
Browse files Browse the repository at this point in the history
… bash commands
  • Loading branch information
jan-goral committed May 6, 2020
1 parent 2034bd8 commit 6571d10
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test_runner/src/test/kotlin/ftl/ios/ParseTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import com.google.common.truth.Truth.assertThat
import ftl.config.FtlConstants.isWindows
import ftl.mock.TestArtifact.fixturesPath
import ftl.test.util.FlankTestRunner
import ftl.util.Bash
import org.junit.Assume.assumeFalse
import org.junit.Test
import org.junit.runner.RunWith
Expand Down Expand Up @@ -109,4 +110,11 @@ class ParseTest {
fun `parseSwiftTests tmpFolder`() {
Parse.parseSwiftTests("/tmp")
}

@Test
fun bashCommandExecutionTest() {
println(Bash.execute("ls"))
println()
println(Bash.execute("ls ./src/test/kotlin/ftl/fixtures/tmp/"))
}
}

0 comments on commit 6571d10

Please sign in to comment.