File tree 3 files changed +8
-8
lines changed
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 446
446
srv = listen (addr)
447
447
s = connect (addr)
448
448
449
- @test success (pipeline (` $(Base. julia_cmd ()) -e "exit()" -i` , stdin = s))
449
+ @test success (pipeline (` $(Base. julia_cmd ()) --startup-file=no - e "exit()" -i` , stdin = s))
450
450
451
451
close (s)
452
452
close (srv)
Original file line number Diff line number Diff line change 571
571
cd("foo")
572
572
@test Base.active_project() == old
573
573
"""
574
- @test success (` $(Base. julia_cmd ()) --project=foo -e $(script) ` )
574
+ @test success (` $(Base. julia_cmd ()) --startup-file=no -- project=foo -e $(script) ` )
575
575
withenv (" JULIA_PROJECT" => " foo" ) do
576
- @test success (` $(Base. julia_cmd ()) -e $(script) ` )
576
+ @test success (` $(Base. julia_cmd ()) --startup-file=no - e $(script) ` )
577
577
end
578
578
end ; end
579
579
end
@@ -589,7 +589,7 @@ mktempdir() do dir
589
589
mkpath (vpath)
590
590
withenv (" JULIA_DEPOT_PATH" => dir) do
591
591
script = " @assert startswith(Base.active_project(), $(repr (vpath)) )"
592
- @test success (` $(Base. julia_cmd ()) -e $(script) ` )
592
+ @test success (` $(Base. julia_cmd ()) --startup-file=no - e $(script) ` )
593
593
end
594
594
end
595
595
606
606
for (env, result) in pairs (cases)
607
607
withenv (" JULIA_LOAD_PATH" => env) do
608
608
script = " LOAD_PATH == $(repr (result)) || error()"
609
- @test success (` $(Base. julia_cmd ()) -e $script ` )
609
+ @test success (` $(Base. julia_cmd ()) --startup-file=no - e $script ` )
610
610
end
611
611
end
612
612
end
625
625
for (env, result) in pairs (cases)
626
626
withenv (" JULIA_DEPOT_PATH" => env) do
627
627
script = " DEPOT_PATH == $(repr (result)) || error()"
628
- @test success (` $(Base. julia_cmd ()) -e $script ` )
628
+ @test success (` $(Base. julia_cmd ()) --startup-file=no - e $script ` )
629
629
end
630
630
end
631
631
end
Original file line number Diff line number Diff line change 519
519
520
520
# Logging macros should not output to finalized streams (#26687)
521
521
let
522
- cmd = ` $(Base . julia_cmd ()) -e 'finalizer(x->@info(x), "Hello")'`
522
+ cmd = ` $exename --startup-file=no -e 'finalizer(x->@info(x), "Hello")'`
523
523
output = readchomp (pipeline (cmd, stderr = catcmd))
524
524
@test occursin (" Info: Hello" , output)
525
525
end
614
614
615
615
let text = " input-test-text"
616
616
b = PipeBuffer ()
617
- proc = open (Base. CmdRedirect (Base. CmdRedirect (``` $(Base . julia_cmd ()) -E '
617
+ proc = open (Base. CmdRedirect (Base. CmdRedirect (``` $exename --startup-file=no -E '
618
618
in14 = Base.open(RawFD(14))
619
619
out15 = Base.open(RawFD(15))
620
620
write(out15, in14)'``` ,
You can’t perform that action at this time.
0 commit comments