File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -434,24 +434,29 @@ let exename = `$(Base.julia_cmd()) --startup-file=no`
434
434
435
435
readsplit (cmd) = split (readchomp (cmd), ' \n ' )
436
436
437
+ # Convert to real paths now that they all exist
438
+ a = realpath (a)
439
+ b = realpath (b)
440
+ c = realpath (c)
441
+
437
442
withenv ((Sys. iswindows () ? " USERPROFILE" : " HOME" ) => dir) do
438
443
@test readsplit (` $exename $a ` ) ==
439
444
[a, a,
440
445
b, a]
441
446
@test readsplit (` $exename -L $b -e 'exit(0)'` ) ==
442
- [realpath (b) , " " ]
447
+ [b , " " ]
443
448
@test readsplit (` $exename -L $b $a ` ) ==
444
- [realpath (b) , a,
449
+ [b , a,
445
450
a, a,
446
451
b, a]
447
452
@test readsplit (` $exename --startup-file=yes -e 'exit(0)'` ) ==
448
453
[c, " " ]
449
454
@test readsplit (` $exename --startup-file=yes -L $b -e 'exit(0)'` ) ==
450
455
[c, " " ,
451
- realpath (b) , " " ]
456
+ b , " " ]
452
457
@test readsplit (` $exename --startup-file=yes -L $b $a ` ) ==
453
458
[c, a,
454
- realpath (b) , a,
459
+ b , a,
455
460
a, a,
456
461
b, a]
457
462
end
You can’t perform that action at this time.
0 commit comments