@@ -50,7 +50,7 @@ object BashScriptsTests:
50
50
val testScriptArgs = Seq (
51
51
" a" , " b" , " c" , " -repl" , " -run" , " -script" , " -debug"
52
52
)
53
- val Seq (showArgsScript, showArgsScalaCli) = Seq (" showArgs.sc" , " showArgsNu .sc" ).map { name =>
53
+ val Seq (showArgsScript, showArgsScalaCli) = Seq (" showArgs.sc" , " showArgs_scalacli .sc" ).map { name =>
54
54
testFiles.find(_.getName == name).get.absPath
55
55
}
56
56
@@ -66,7 +66,7 @@ object BashScriptsTests:
66
66
}
67
67
file
68
68
69
- val Seq (envtestNuSc, envtestScala) = Seq (" envtestNu .sc" , " envtest.scala" ).map { testFile(_) }
69
+ val Seq (envtestNuSc, envtestScala) = Seq (" envtest_scalacli .sc" , " envtest.scala" ).map { testFile(_) }
70
70
71
71
// create command line with given options, execute specified script, return stdout
72
72
def callScript (tag : String , script : String , keyPre : String ): String =
@@ -173,13 +173,13 @@ class BashScriptsTests:
173
173
assert(stdout == expectedOutput)
174
174
175
175
/*
176
- * verify that scriptPathNu .sc sees a valid script.path property,
177
- * and that it's value is the path to "scriptPathNu .sc".
176
+ * verify that scriptPath_scalacli .sc sees a valid script.path property,
177
+ * and that it's value is the path to "scriptPath_scalacli .sc".
178
178
*/
179
179
@ Category (Array (classOf [BootstrappedOnlyTests ]))
180
180
@ Test def verifyScriptPathProperty =
181
181
assumeFalse(" Scripts do not yet support Scala 2 library TASTy" , Properties .usingScalaLibraryTasty)
182
- val scriptFile = testFiles.find(_.getName == " scriptPathNu .sc" ).get
182
+ val scriptFile = testFiles.find(_.getName == " scriptPath_scalacli .sc" ).get
183
183
val expected = s " ${scriptFile.getName}"
184
184
printf(" ===> verify valid system property script.path is reported by script [%s]\n " , scriptFile.getName)
185
185
printf(" calling scriptFile: %s\n " , scriptFile)
@@ -196,7 +196,7 @@ class BashScriptsTests:
196
196
*/
197
197
@ Test def verifyScalaOpts =
198
198
assumeFalse(" Scripts do not yet support Scala 2 library TASTy" , Properties .usingScalaLibraryTasty)
199
- val scriptFile = testFiles.find(_.getName == " classpathReport .sc" ).get
199
+ val scriptFile = testFiles.find(_.getName == " classpathReport_scalacli .sc" ).get
200
200
printf(" ===> verify SCALA_OPTS='@argsfile' is properly handled by `dist/bin/scala`\n " )
201
201
val envPairs = List ((" SCALA_OPTS" , s " @ $argsfile" ))
202
202
val (validTest, exitCode, stdout, stderr) = bashCommand(scriptFile.absPath, envPairs)
@@ -219,7 +219,7 @@ class BashScriptsTests:
219
219
*/
220
220
@ Test def sqlDateTest =
221
221
assumeFalse(" Scripts do not yet support Scala 2 library TASTy" , Properties .usingScalaLibraryTasty)
222
- val scriptBase = " sqlDateErrorNu "
222
+ val scriptBase = " sqlDateError_scalacli "
223
223
val scriptFile = testFiles.find(_.getName == s " $scriptBase.sc " ).get
224
224
val testJar = testFile(s " $scriptBase.jar " ) // jar should not be created when scriptFile runs
225
225
val tj = Paths .get(testJar).toFile
0 commit comments