check that Linux output doesn't contain any junk

This commit is contained in:
Eugene Yokota 2019-09-22 19:04:03 -04:00
parent 0a09fa62ed
commit 4dc6bb788e
3 changed files with 2 additions and 9 deletions

View File

@ -7,7 +7,7 @@ scala: 2.10.7
env:
global:
- SBT_VER=1.3.0-M4
- SBT_VER=1.3.0
- TRAVIS_JDK=adopt@1.8.212-04
- JABBA_HOME=$HOME/.jabba
- TRAVIS_JDK11=openjdk@1.11.0

View File

@ -18,12 +18,5 @@ lazy val root = (project in file("."))
val ys = IO.readLines(file("err.txt")).toVector.distinct
assert(ys.isEmpty, s"there's an stderr: $ys")
},
check2 := {
val xs = IO.readLines(file("output.txt")).toVector
println(xs)
val ys = IO.readLines(file("err.txt")).toVector.distinct
assert(!ys.exists(_.contains("Ignoring option MaxPermSize; support was removed in 8.0")), s"there's an stderr: $ys")
}
)

View File

@ -15,7 +15,7 @@ unzip -qo ../target/universal/sbt.zip -d ./freshly-baked
./freshly-baked/sbt/bin/sbt -Dsbt.no.format=true about
./freshly-baked/sbt/bin/sbt -Dsbt.no.format=true about 1> output.txt 2> err.txt
./freshly-baked/sbt/bin/sbt check2
./freshly-baked/sbt/bin/sbt check
./freshly-baked/sbt/bin/sbt about run -v