File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -416,6 +416,9 @@ let exename = `$(Base.julia_cmd()) --startup-file=no`
416
416
417
417
# test the program name remains constant
418
418
mktempdir () do dir
419
+ # dir can be case-incorrect sometimes
420
+ dir = realpath (dir)
421
+
419
422
a = joinpath (dir, " a.jl" )
420
423
b = joinpath (dir, " b.jl" )
421
424
c = joinpath (dir, " .julia" , " config" , " startup.jl" )
@@ -439,19 +442,19 @@ let exename = `$(Base.julia_cmd()) --startup-file=no`
439
442
[a, a,
440
443
b, a]
441
444
@test readsplit (` $exename -L $b -e 'exit(0)'` ) ==
442
- [realpath (b) , " " ]
445
+ [b , " " ]
443
446
@test readsplit (` $exename -L $b $a ` ) ==
444
- [realpath (b) , a,
447
+ [b , a,
445
448
a, a,
446
449
b, a]
447
450
@test readsplit (` $exename --startup-file=yes -e 'exit(0)'` ) ==
448
451
[c, " " ]
449
452
@test readsplit (` $exename --startup-file=yes -L $b -e 'exit(0)'` ) ==
450
453
[c, " " ,
451
- realpath (b) , " " ]
454
+ b , " " ]
452
455
@test readsplit (` $exename --startup-file=yes -L $b $a ` ) ==
453
456
[c, a,
454
- realpath (b) , a,
457
+ b , a,
455
458
a, a,
456
459
b, a]
457
460
end
You can’t perform that action at this time.
0 commit comments