358
358
[ "VMS->splitdir('[]')", '' ],
359
359
[ "VMS->splitdir('d1.d2.d3')", 'd1,d2,d3' ],
360
360
[ "VMS->splitdir('[d1.d2.d3]')", 'd1,d2,d3' ],
361
[ "VMS->splitdir('.d1.d2.d3')", ',d1,d2,d3' ],
362
[ "VMS->splitdir('[.d1.d2.d3]')", ',d1,d2,d3' ],
363
[ "VMS->splitdir('.-.d2.d3')", ',-,d2,d3' ],
364
[ "VMS->splitdir('[.-.d2.d3]')", ',-,d2,d3' ],
361
[ "VMS->splitdir('.d1.d2.d3')", 'd1,d2,d3' ],
362
[ "VMS->splitdir('[.d1.d2.d3]')", 'd1,d2,d3' ],
363
[ "VMS->splitdir('.-.d2.d3')", '-,d2,d3' ],
364
[ "VMS->splitdir('[.-.d2.d3]')", '-,d2,d3' ],
365
365
[ "VMS->splitdir('[d1.d2]')", 'd1,d2' ],
366
366
[ "VMS->splitdir('[d1-.--d2]')", 'd1-,--d2' ],
367
367
[ "VMS->splitdir('[d1---.-.d2]')", 'd1---,-,d2' ],
368
368
[ "VMS->splitdir('[d1.---.d2]')", 'd1,-,-,-,d2' ],
369
369
[ "VMS->splitdir('[d1---d2]')", 'd1---d2' ],
370
370
[ "VMS->splitdir('[d1.][000000.d2]')", 'd1,d2' ],
371
[ "VMS->splitdir('[.d1.d2^.d3]')", 'd1,d2^.d3' ],
372
373
[ "VMS->catdir('')", '' ],
373
374
[ "VMS->catdir('d1','d2','d3')", '[.d1.d2.d3]' ],
618
619
#[ "Epoc->canonpath('/a/.')", '/a' ],
619
620
#[ "Epoc->canonpath('/.')", '/' ],
621
[ "Cygwin->case_tolerant()", '0' ],
622
[ "Cygwin->case_tolerant()", '1' ],
623
[ "Cygwin->catfile('a','b','c')", 'a/b/c' ],
624
[ "Cygwin->catfile('a','b','./c')", 'a/b/c' ],
625
[ "Cygwin->catfile('./a','b','c')", 'a/b/c' ],
626
[ "Cygwin->catfile('c')", 'c' ],
627
[ "Cygwin->catfile('./c')", 'c' ],
629
[ "Cygwin->splitpath('file')", ',,file' ],
630
[ "Cygwin->splitpath('/d1/d2/d3/')", ',/d1/d2/d3/,' ],
631
[ "Cygwin->splitpath('d1/d2/d3/')", ',d1/d2/d3/,' ],
632
[ "Cygwin->splitpath('/d1/d2/d3/.')", ',/d1/d2/d3/.,' ],
633
[ "Cygwin->splitpath('/d1/d2/d3/..')", ',/d1/d2/d3/..,' ],
634
[ "Cygwin->splitpath('/d1/d2/d3/.file')", ',/d1/d2/d3/,.file' ],
635
[ "Cygwin->splitpath('d1/d2/d3/file')", ',d1/d2/d3/,file' ],
636
[ "Cygwin->splitpath('/../../d1/')", ',/../../d1/,' ],
637
[ "Cygwin->splitpath('/././d1/')", ',/././d1/,' ],
639
[ "Cygwin->catpath('','','file')", 'file' ],
640
[ "Cygwin->catpath('','/d1/d2/d3/','')", '/d1/d2/d3/' ],
641
[ "Cygwin->catpath('','d1/d2/d3/','')", 'd1/d2/d3/' ],
642
[ "Cygwin->catpath('','/d1/d2/d3/.','')", '/d1/d2/d3/.' ],
643
[ "Cygwin->catpath('','/d1/d2/d3/..','')", '/d1/d2/d3/..' ],
644
[ "Cygwin->catpath('','/d1/d2/d3/','.file')", '/d1/d2/d3/.file' ],
645
[ "Cygwin->catpath('','d1/d2/d3/','file')", 'd1/d2/d3/file' ],
646
[ "Cygwin->catpath('','/../../d1/','')", '/../../d1/' ],
647
[ "Cygwin->catpath('','/././d1/','')", '/././d1/' ],
648
[ "Cygwin->catpath('d1','d2/d3/','')", 'd2/d3/' ],
649
[ "Cygwin->catpath('d1','d2','d3/')", 'd2/d3/' ],
651
[ "Cygwin->splitdir('')", '' ],
652
[ "Cygwin->splitdir('/d1/d2/d3/')", ',d1,d2,d3,' ],
653
[ "Cygwin->splitdir('d1/d2/d3/')", 'd1,d2,d3,' ],
654
[ "Cygwin->splitdir('/d1/d2/d3')", ',d1,d2,d3' ],
655
[ "Cygwin->splitdir('d1/d2/d3')", 'd1,d2,d3' ],
657
[ "Cygwin->catdir()", '' ],
658
[ "Cygwin->catdir('/')", '/' ],
659
[ "Cygwin->catdir('','d1','d2','d3','')", '/d1/d2/d3' ],
660
[ "Cygwin->catdir('d1','d2','d3','')", 'd1/d2/d3' ],
661
[ "Cygwin->catdir('','d1','d2','d3')", '/d1/d2/d3' ],
662
[ "Cygwin->catdir('d1','d2','d3')", 'd1/d2/d3' ],
622
663
[ "Cygwin->catdir('/','d2/d3')", '/d2/d3' ],
665
[ "Cygwin->canonpath('///../../..//./././a//b/.././c/././')", '/a/b/../c' ],
666
[ "Cygwin->canonpath('')", '' ],
667
[ "Cygwin->canonpath('a/../../b/c')", 'a/../../b/c' ],
668
[ "Cygwin->canonpath('/.')", '/' ],
669
[ "Cygwin->canonpath('/./')", '/' ],
670
[ "Cygwin->canonpath('/a/./')", '/a' ],
671
[ "Cygwin->canonpath('/a/.')", '/a' ],
672
[ "Cygwin->canonpath('/../../')", '/' ],
673
[ "Cygwin->canonpath('/../..')", '/' ],
675
[ "Cygwin->abs2rel('/t1/t2/t3','/t1/t2/t3')", '.' ],
676
[ "Cygwin->abs2rel('/t1/t2/t4','/t1/t2/t3')", '../t4' ],
677
[ "Cygwin->abs2rel('/t1/t2','/t1/t2/t3')", '..' ],
678
[ "Cygwin->abs2rel('/t1/t2/t3/t4','/t1/t2/t3')", 't4' ],
679
[ "Cygwin->abs2rel('/t4/t5/t6','/t1/t2/t3')", '../../../t4/t5/t6' ],
680
#[ "Cygwin->abs2rel('../t4','/t1/t2/t3')", '../t4' ],
681
[ "Cygwin->abs2rel('/','/t1/t2/t3')", '../../..' ],
682
[ "Cygwin->abs2rel('///','/t1/t2/t3')", '../../..' ],
683
[ "Cygwin->abs2rel('/.','/t1/t2/t3')", '../../..' ],
684
[ "Cygwin->abs2rel('/./','/t1/t2/t3')", '../../..' ],
685
#[ "Cygwin->abs2rel('../t4','/t1/t2/t3')", '../t4' ],
686
[ "Cygwin->abs2rel('/t1/t2/t3', '/')", 't1/t2/t3' ],
687
[ "Cygwin->abs2rel('/t1/t2/t3', '/t1')", 't2/t3' ],
688
[ "Cygwin->abs2rel('t1/t2/t3', 't1')", 't2/t3' ],
689
[ "Cygwin->abs2rel('t1/t2/t3', 't4')", '../t1/t2/t3' ],
691
[ "Cygwin->rel2abs('t4','/t1/t2/t3')", '/t1/t2/t3/t4' ],
692
[ "Cygwin->rel2abs('t4/t5','/t1/t2/t3')", '/t1/t2/t3/t4/t5' ],
693
[ "Cygwin->rel2abs('.','/t1/t2/t3')", '/t1/t2/t3' ],
694
[ "Cygwin->rel2abs('..','/t1/t2/t3')", '/t1/t2/t3/..' ],
695
[ "Cygwin->rel2abs('../t4','/t1/t2/t3')", '/t1/t2/t3/../t4' ],
696
[ "Cygwin->rel2abs('/t1','/t1/t2/t3')", '/t1' ],