Skip to content

Commit cdb4038

Browse files
committed
.
1 parent 697cd1a commit cdb4038

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

os/test/src-jvm/ExampleTests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ object ExampleTests extends TestSuite {
254254
}
255255
test("findWc") {
256256

257-
val wd = os.Path(sys.env("MILL_TEST_RESOURCE_FOLDER")) / "test"
257+
val wd = os.Path(sys.env("OS_TEST_RESOURCE_FOLDER")) / "test"
258258

259259
// find . -name '*.txt' | xargs wc -l
260260
val lines = os.walk(wd)

os/test/src-jvm/OpTestsJvmOnly.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import java.nio.charset.Charset
1010
object OpTestsJvmOnly extends TestSuite {
1111

1212
val tests = Tests {
13-
val res = os.Path(sys.env("MILL_TEST_RESOURCE_FOLDER")) / "test"
13+
val res = os.Path(sys.env("OS_TEST_RESOURCE_FOLDER")) / "test"
1414
val testFolder = os.pwd / "out" / "scratch" / "test"
1515
test("lsRecPermissions") {
1616
if (Unix()) {
@@ -74,7 +74,7 @@ object OpTestsJvmOnly extends TestSuite {
7474
// Not sure why this doesn't work on native
7575
test("redirectSubprocessInheritedOutput") {
7676
if (Unix()) { // relies on bash scripts that don't run on windows
77-
val scriptFolder = os.Path(sys.env("MILL_TEST_RESOURCE_FOLDER")) / "test"
77+
val scriptFolder = os.Path(sys.env("OS_TEST_RESOURCE_FOLDER")) / "test"
7878
val lines = collection.mutable.Buffer.empty[String]
7979
os.Inherit.out.withValue(os.ProcessOutput.Readlines(lines.append(_))) {
8080
// Redirected

os/test/src-jvm/ProcessPipelineTests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import TestUtil.prep
99
import scala.util.Try
1010

1111
object ProcessPipelineTests extends TestSuite {
12-
val scriptFolder = os.Path(sys.env("MILL_TEST_RESOURCE_FOLDER")) / "scripts"
12+
val scriptFolder = os.Path(sys.env("OS_TEST_RESOURCE_FOLDER")) / "scripts"
1313

1414
lazy val scalaHome = sys.env("SCALA_HOME")
1515

os/test/src/OpTests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import java.nio.charset.Charset
1010
object OpTests extends TestSuite {
1111

1212
val tests = Tests {
13-
val res = os.Path(sys.env("MILL_TEST_RESOURCE_FOLDER")) / "test"
13+
val res = os.Path(sys.env("OS_TEST_RESOURCE_FOLDER")) / "test"
1414
test("ls") - assert(
1515
os.list(res).toSet == Set(
1616
res / "folder1",

os/test/src/SubprocessTests.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import utest._
99
import scala.collection.mutable
1010

1111
object SubprocessTests extends TestSuite {
12-
val scriptFolder = os.Path(sys.env("MILL_TEST_RESOURCE_FOLDER")) / "test"
12+
val scriptFolder = os.Path(sys.env("OS_TEST_RESOURCE_FOLDER")) / "test"
1313

1414
val lsCmd = if (scala.util.Properties.isWin) "dir" else "ls"
1515

@@ -197,7 +197,7 @@ object SubprocessTests extends TestSuite {
197197
}
198198
test("jarTf") {
199199
// This was the original repro for the multi-chunk concurrency bugs
200-
val jarFile = os.Path(sys.env("MILL_TEST_RESOURCE_FOLDER")) / "misc" / "out.jar"
200+
val jarFile = os.Path(sys.env("OS_TEST_RESOURCE_FOLDER")) / "misc" / "out.jar"
201201
assert(TestUtil.eqIgnoreNewlineStyle(
202202
os.proc("jar", "-tf", jarFile).call().out.text(),
203203
"""META-INF/MANIFEST.MF

0 commit comments

Comments
 (0)