apache-flink: fix _JAVA_OPTIONS usage

This commit is contained in:
Dominyk Tiller 2017-09-04 14:38:11 +01:00 committed by ilovezfs
parent 03aeae8ad0
commit 76ca86e18e

View file

@ -17,7 +17,7 @@ class ApacheFlink < Formula
end
test do
ENV["_JAVA_OPTIONS"] = "-Djava.io.tmpdir=#{testpath} -Duser.home=#{testpath}"
ENV.prepend "_JAVA_OPTIONS", "-Djava.io.tmpdir=#{testpath}"
input = "benv.fromElements(1,2,3).print()\n"
output = pipe_output("#{libexec}/bin/start-scala-shell.sh local", input, 1)
assert_match "FINISHED", output