|
|
22d2ea |
diff -up PathTools-3.47/t/Spec.t.orig PathTools-3.47/t/Spec.t
|
|
|
22d2ea |
--- PathTools-3.47/t/Spec.t.orig 2014-05-23 18:39:28.000000000 +0200
|
|
|
22d2ea |
+++ PathTools-3.47/t/Spec.t 2014-05-27 12:32:22.473486887 +0200
|
|
|
22d2ea |
@@ -38,7 +38,7 @@ if ( $@ ) {
|
|
|
22d2ea |
$INC{"VMS/Filespec.pm"} = 1 ;
|
|
|
22d2ea |
}
|
|
|
22d2ea |
|
|
|
22d2ea |
-foreach (qw(Unix Win32 VMS OS2 Mac Epoc Cygwin)) {
|
|
|
22d2ea |
+foreach (qw(Unix Win32 OS2 Mac Epoc Cygwin)) {
|
|
|
22d2ea |
require_ok("File::Spec::$_");
|
|
|
22d2ea |
}
|
|
|
22d2ea |
|
|
|
22d2ea |
@@ -322,190 +322,6 @@ my @tests = (
|
|
|
22d2ea |
[ "FakeWin32->rel2abs('../','//prague_main/work')", '\\\\prague_main\\work' ],
|
|
|
22d2ea |
[ "FakeWin32->rel2abs('D:foo.txt')", 'D:\\alpha\\beta\\foo.txt' ],
|
|
|
22d2ea |
|
|
|
22d2ea |
-[ "VMS->case_tolerant()", '1' ],
|
|
|
22d2ea |
-
|
|
|
22d2ea |
-[ "VMS->catfile('a','b','c')", $vms_unix_rpt ? 'a/b/c' : '[.a.b]c' ],
|
|
|
22d2ea |
-[ "VMS->catfile('a','b','[]c')", $vms_unix_rpt ? 'a/b/c' : '[.a.b]c' ],
|
|
|
22d2ea |
-[ "VMS->catfile('[.a]','b','c')", $vms_unix_rpt ? 'a/b/c' : '[.a.b]c' ],
|
|
|
22d2ea |
-[ "VMS->catfile('a/b/','c')", $vms_unix_rpt ? 'a/b/c' : '[.a.b]c' ],
|
|
|
22d2ea |
-[ "VMS->catfile('c')", 'c' ],
|
|
|
22d2ea |
-[ "VMS->catfile('[]c')", 'c' ],
|
|
|
22d2ea |
-
|
|
|
22d2ea |
-[ "VMS->catfile('0','b','c')", $vms_unix_rpt ? '0/b/c' : '[.0.b]c' ],
|
|
|
22d2ea |
-[ "VMS->catfile('a','0','c')", $vms_unix_rpt ? 'a/0/c' : '[.a.0]c' ],
|
|
|
22d2ea |
-[ "VMS->catfile('a','b','0')", $vms_unix_rpt ? 'a/b/0' : '[.a.b]0' ],
|
|
|
22d2ea |
-[ "VMS->catfile('0','0','c')", $vms_unix_rpt ? '0/0/c' : '[.0.0]c' ],
|
|
|
22d2ea |
-[ "VMS->catfile('a','0','0')", $vms_unix_rpt ? 'a/0/0' : '[.a.0]0' ],
|
|
|
22d2ea |
-[ "VMS->catfile('0','b','0')", $vms_unix_rpt ? '0/b/0' : '[.0.b]0' ],
|
|
|
22d2ea |
-[ "VMS->catfile('0','0','0')", $vms_unix_rpt ? '0/0/0' : '[.0.0]0' ],
|
|
|
22d2ea |
-
|
|
|
22d2ea |
-
|
|
|
22d2ea |
-[ "VMS->splitpath('file')", ',,file' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[d1.d2.d3]')", ',[d1.d2.d3],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[.d1.d2.d3]')", ',[.d1.d2.d3],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[d1.d2.d3]file')", ',[d1.d2.d3],file' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('d1/d2/d3/file')",
|
|
|
22d2ea |
- $vms_unix_rpt ? ',d1/d2/d3/,file' : ',[.d1.d2.d3],file' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('/d1/d2/d3/file')",
|
|
|
22d2ea |
- $vms_unix_rpt ? ',/d1/d2/d3/,file' : 'd1:,[d2.d3],file' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[.d1.d2.d3]file')", ',[.d1.d2.d3],file' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('node::volume:[d1.d2.d3]')", 'node::volume:,[d1.d2.d3],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('node::volume:[d1.d2.d3]file')", 'node::volume:,[d1.d2.d3],file' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('node\"access_spec\"::volume:[d1.d2.d3]')", 'node"access_spec"::volume:,[d1.d2.d3],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('node\"access_spec\"::volume:[d1.d2.d3]file')", 'node"access_spec"::volume:,[d1.d2.d3],file' ],
|
|
|
22d2ea |
-
|
|
|
22d2ea |
-[ "VMS->splitpath('[]')", ',[],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[-]')", ',[-],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[]file')", ',[],file' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[-]file')", ',[-],file' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('')", ',,' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('0')", ',,0' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[0]')", ',[0],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[.0]')", ',[.0],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[0.0.0]')", ',[0.0.0],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[.0.0.0]')", ',[.0.0.0],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[0]0')", ',[0],0' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[0.0.0]0')", ',[0.0.0],0' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[.0.0.0]0')", ',[.0.0.0],0' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('0/0')", $vms_unix_rpt ? ',0/,0' : ',[.0],0' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('0/0/0')", $vms_unix_rpt ? ',0/0/,0' : ',[.0.0],0' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('/0/0')", $vms_unix_rpt ? ',/0/,0' : '0:,[000000],0' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('/0/0/0')", $vms_unix_rpt ? ',/0/0/,0' : '0:,[0],0' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('d1',1)", ',d1,' ],
|
|
|
22d2ea |
-# $no_file tests
|
|
|
22d2ea |
-[ "VMS->splitpath('[d1.d2.d3]',1)", ',[d1.d2.d3],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[.d1.d2.d3]',1)", ',[.d1.d2.d3],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('d1/d2/d3',1)", $vms_unix_rpt ? ',d1/d2/d3,' : ',[.d1.d2.d3],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('/d1/d2/d3',1)", $vms_unix_rpt ? ',/d1/d2/d3,' : 'd1:,[d2.d3],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('node::volume:[d1.d2.d3]',1)", 'node::volume:,[d1.d2.d3],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('node\"access_spec\"::volume:[d1.d2.d3]',1)", 'node"access_spec"::volume:,[d1.d2.d3],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[]',1)", ',[],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[-]',1)", ',[-],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('',1)", ',,' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('0',1)", ',0,' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[0]',1)", ',[0],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[.0]',1)", ',[.0],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[0.0.0]',1)", ',[0.0.0],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('[.0.0.0]',1)", ',[.0.0.0],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('0/0',1)", $vms_unix_rpt ? ',0/0,' : ',[.0.0],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('0/0/0',1)", $vms_unix_rpt ? ',0/0/0,' : ',[.0.0.0],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('/0/0',1)", $vms_unix_rpt ? ',/0/0,' : '0:,[000000.0],' ],
|
|
|
22d2ea |
-[ "VMS->splitpath('/0/0/0',1)", $vms_unix_rpt ? ',/0/0/0,' : '0:,[0.0],' ],
|
|
|
22d2ea |
-
|
|
|
22d2ea |
-[ "VMS->catpath('','','file')", 'file' ],
|
|
|
22d2ea |
-[ "VMS->catpath('','[d1.d2.d3]','')", '[d1.d2.d3]' ],
|
|
|
22d2ea |
-[ "VMS->catpath('','[.d1.d2.d3]','')", '[.d1.d2.d3]' ],
|
|
|
22d2ea |
-[ "VMS->catpath('','[d1.d2.d3]','file')", '[d1.d2.d3]file' ],
|
|
|
22d2ea |
-[ "VMS->catpath('','[.d1.d2.d3]','file')", '[.d1.d2.d3]file' ],
|
|
|
22d2ea |
-[ "VMS->catpath('','d1/d2/d3','file')",
|
|
|
22d2ea |
- $vms_unix_rpt ? 'd1/d2/d3/file' : '[.d1.d2.d3]file' ],
|
|
|
22d2ea |
-[ "VMS->catpath('v','d1/d2/d3','file')", 'v:[.d1.d2.d3]file' ],
|
|
|
22d2ea |
-[ "VMS->catpath('v','','file')", 'v:file' ],
|
|
|
22d2ea |
-[ "VMS->catpath('v','w:[d1.d2.d3]','file')", 'v:[d1.d2.d3]file' ],
|
|
|
22d2ea |
-[ "VMS->catpath('node::volume:','[d1.d2.d3]','')", 'node::volume:[d1.d2.d3]' ],
|
|
|
22d2ea |
-[ "VMS->catpath('node::volume:','[d1.d2.d3]','file')", 'node::volume:[d1.d2.d3]file' ],
|
|
|
22d2ea |
-[ "VMS->catpath('node\"access_spec\"::volume:','[d1.d2.d3]','')", 'node"access_spec"::volume:[d1.d2.d3]' ],
|
|
|
22d2ea |
-[ "VMS->catpath('node\"access_spec\"::volume:','[d1.d2.d3]','file')", 'node"access_spec"::volume:[d1.d2.d3]file' ],
|
|
|
22d2ea |
-
|
|
|
22d2ea |
-[ "VMS->canonpath('')", '' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('volume:[d1]file')", $vms_unix_rpt ? '/volume/d1/file' : 'volume:[d1]file' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('volume:[d1.-.d2.][d3.d4.-]')", $vms_unix_rpt ? '/volume/d2/d3/' : 'volume:[d2.d3]' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('volume:[000000.d1]d2.dir;1')", $vms_unix_rpt ? '/volume/d1/d2.dir.1' : 'volume:[d1]d2.dir;1' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('volume:[d1.d2.d3]file.txt')", $vms_unix_rpt ? '/volume/d1/d2/d3/file.txt' : 'volume:[d1.d2.d3]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('[d1.d2.d3]file.txt')", $vms_unix_rpt ? '/sys$disk/d1/d2/d3/file.txt' : '[d1.d2.d3]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('volume:[-.d1.d2.d3]file.txt')", $vms_unix_rpt ? '/volume/../d1/d2/d3/file.txt' : 'volume:[-.d1.d2.d3]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('[-.d1.d2.d3]file.txt')", $vms_unix_rpt ? '../d1/d2/d3/file.txt' : '[-.d1.d2.d3]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('volume:[--.d1.d2.d3]file.txt')", $vms_unix_rpt ? '/volume/../../d1/d2/d3/file.txt' : 'volume:[--.d1.d2.d3]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('[--.d1.d2.d3]file.txt')", $vms_unix_rpt ? '../../d1/d2/d3/file.txt' : '[--.d1.d2.d3]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('volume:[d1.-.d2.d3]file.txt')", $vms_unix_rpt ? '/volume/d2/d3/file.txt' : 'volume:[d2.d3]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('[d1.-.d2.d3]file.txt')", $vms_unix_rpt ? '/sys$disk/d2/d3/file.txt' : '[d2.d3]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('volume:[d1.--.d2.d3]file.txt')", $vms_unix_rpt ? '/volume/../d2/d3/file.txt' : 'volume:[-.d2.d3]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('[d1.--.d2.d3]file.txt')", $vms_unix_rpt ? '../d2/d3/file.txt' : '[-.d2.d3]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('volume:[d1.d2.-.d3]file.txt')", $vms_unix_rpt ? '/volume/d1/d3/file.txt' : 'volume:[d1.d3]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('[d1.d2.-.d3]file.txt')", $vms_unix_rpt ? '/sys$disk/d1/d3/file.txt' : '[d1.d3]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('volume:[d1.d2.--.d3]file.txt')", $vms_unix_rpt ? '/volume/d3/file.txt' : 'volume:[d3]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('[d1.d2.--.d3]file.txt')", $vms_unix_rpt ? '/sys$disk/d3/file.txt' : '[d3]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('volume:[d1.d2.d3.-]file.txt')", $vms_unix_rpt ? '/volume/d1/d2/file.txt' : 'volume:[d1.d2]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('[d1.d2.d3.-]file.txt')", $vms_unix_rpt ? '/sys$disk/d1/d2/file.txt' : '[d1.d2]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('volume:[d1.d2.d3.--]file.txt')", $vms_unix_rpt ? '/volume/d1/file.txt' : 'volume:[d1]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('[d1.d2.d3.--]file.txt')", $vms_unix_rpt ? '/sys$disk/d1/file.txt' : '[d1]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('volume:[d1.000000.][000000.][d3.--]file.txt')", $vms_unix_rpt ? '/volume/d1/file.txt'
|
|
|
22d2ea |
- : 'volume:[d1]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('[d1.000000.][000000.][d3.--]file.txt')", $vms_unix_rpt ? '/sys$disk/d1/file.txt'
|
|
|
22d2ea |
- : '[d1]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('volume:[d1.000000.][000000.][d2.000000]file.txt')", $vms_unix_rpt ? '/volume/d1/000000/d2/000000/file.txt'
|
|
|
22d2ea |
- : 'volume:[d1.000000.d2.000000]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('[d1.000000.][000000.][d2.000000]file.txt')", $vms_unix_rpt ? '/sys$disk/d1/000000/d2/000000/file.txt'
|
|
|
22d2ea |
- : '[d1.000000.d2.000000]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('volume:[d1.000000.][000000.][d3.--.000000]file.txt')", $vms_unix_rpt ? '/volume/d1/000000/file.txt'
|
|
|
22d2ea |
- : 'volume:[d1.000000]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('[d1.000000.][000000.][d3.--.000000]file.txt')", $vms_unix_rpt ? '/sys$disk/d1/000000/file.txt'
|
|
|
22d2ea |
- : '[d1.000000]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('volume:[d1.000000.][000000.][-.-.000000]file.txt')", $vms_unix_rpt ? '/volume/file.txt'
|
|
|
22d2ea |
- : 'volume:[000000]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('[d1.000000.][000000.][--.-.000000]file.txt')", $vms_unix_rpt ? '../file.txt' : '[-.000000]file.txt' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('[d1.d2.--]file')", $vms_unix_rpt ? '../file.txt' : '[000000]file' ],
|
|
|
22d2ea |
-# During the Perl 5.8 era, FS::Unix stopped eliminating redundant path elements, so mimic that here.
|
|
|
22d2ea |
-[ "VMS->canonpath('a/../../b/c.dat')", $vms_unix_rpt ? 'a/../../b/c.dat' : '[-.b]c.dat' ],
|
|
|
22d2ea |
-[ "VMS->canonpath('^<test^.new.-.caret^ escapes^>')", '^<test^.new.-.caret^ escapes^>' ],
|
|
|
22d2ea |
-
|
|
|
22d2ea |
-[ "VMS->splitdir('')", '' ],
|
|
|
22d2ea |
-[ "VMS->splitdir('[]')", '' ],
|
|
|
22d2ea |
-[ "VMS->splitdir('d1.d2.d3')", 'd1,d2,d3' ],
|
|
|
22d2ea |
-[ "VMS->splitdir('[d1.d2.d3]')", 'd1,d2,d3' ],
|
|
|
22d2ea |
-[ "VMS->splitdir('.d1.d2.d3')", 'd1,d2,d3' ],
|
|
|
22d2ea |
-[ "VMS->splitdir('[.d1.d2.d3]')", 'd1,d2,d3' ],
|
|
|
22d2ea |
-[ "VMS->splitdir('.-.d2.d3')", '-,d2,d3' ],
|
|
|
22d2ea |
-[ "VMS->splitdir('[.-.d2.d3]')", '-,d2,d3' ],
|
|
|
22d2ea |
-[ "VMS->splitdir('[d1.d2]')", 'd1,d2' ],
|
|
|
22d2ea |
-[ "VMS->splitdir('[d1-.--d2]')", 'd1-,--d2' ],
|
|
|
22d2ea |
-[ "VMS->splitdir('[d1---.-.d2]')", 'd1---,-,d2' ],
|
|
|
22d2ea |
-[ "VMS->splitdir('[d1.---.d2]')", 'd1,-,-,-,d2' ],
|
|
|
22d2ea |
-[ "VMS->splitdir('[d1---d2]')", 'd1---d2' ],
|
|
|
22d2ea |
-[ "VMS->splitdir('[d1.][000000.d2]')", 'd1,d2' ],
|
|
|
22d2ea |
-[ "VMS->splitdir('[.d1.d2^.d3]')", 'd1,d2^.d3' ],
|
|
|
22d2ea |
-
|
|
|
22d2ea |
-[ "VMS->catdir('')", '' ],
|
|
|
22d2ea |
-[ "VMS->catdir('foo')", $vms_unix_rpt ? 'foo' : '[.foo]' ],
|
|
|
22d2ea |
-[ "VMS->catdir('d1','d2','d3')", $vms_unix_rpt ? 'd1/d2/d3' : '[.d1.d2.d3]' ],
|
|
|
22d2ea |
-[ "VMS->catdir('d1','d2/','d3')", $vms_unix_rpt ? 'd1/d2/d3' : '[.d1.d2.d3]' ],
|
|
|
22d2ea |
-[ "VMS->catdir('','d1','d2','d3')",$vms_unix_rpt ? '/d1/d2/d3' : '[.d1.d2.d3]' ],
|
|
|
22d2ea |
-[ "VMS->catdir('','-','d2','d3')", $vms_unix_rpt ? '-/d2/d3' : '[-.d2.d3]' ],
|
|
|
22d2ea |
-[ "VMS->catdir('','-','','d3')", $vms_unix_rpt ? '-/d3' : '[-.d3]' ],
|
|
|
22d2ea |
-[ "VMS->catdir('dir.dir','d2.dir','d3.dir')", $vms_unix_rpt ? 'dir/d2/d3'
|
|
|
22d2ea |
- : '[.dir.d2.d3]' ],
|
|
|
22d2ea |
-[ "VMS->catdir('[.name]')", $vms_unix_rpt ? 'name/' : '[.name]' ],
|
|
|
22d2ea |
-[ "VMS->catdir('[.name]','[.name]')", $vms_unix_rpt ? 'name/name' :'[.name.name]' ],
|
|
|
22d2ea |
-[ "VMS->catdir('/a/b/c','[-]')", $vms_unix_rpt ? '/a/b/c/..' : 'a:[b]'],
|
|
|
22d2ea |
-[ "VMS->catdir('a:[b.c]','..')", $vms_unix_rpt ? '/a/b/c/..' : 'a:[b]'],
|
|
|
22d2ea |
-
|
|
|
22d2ea |
-[ "VMS->abs2rel('node::volume:[t1.t2.t3]','node::volume:[t1.t2.t3]')", $vms_unix_rpt ? './' : '[]' ],
|
|
|
22d2ea |
-[ "VMS->abs2rel('node::volume:[t1.t2.t3]','[t1.t2.t3]')", $vms_unix_rpt ? '/node//volume/t1/t2/t3/' : 'node::volume:[t1.t2.t3]' ],
|
|
|
22d2ea |
-[ "VMS->abs2rel('node::volume:[t1.t2.t4]','node::volume:[t1.t2.t3]')", $vms_unix_rpt ? '../t4/' : '[-.t4]' ],
|
|
|
22d2ea |
-[ "VMS->abs2rel('node::volume:[t1.t2.t4]','[t1.t2.t3]')", $vms_unix_rpt ? '/node//volume/t1/t2/t4/' : 'node::volume:[t1.t2.t4]' ],
|
|
|
22d2ea |
-[ "VMS->abs2rel('[t1.t2.t3]','[t1.t2.t3]')", $vms_unix_rpt ? './' : '[]' ],
|
|
|
22d2ea |
-[ "VMS->abs2rel('[t1.t2.t3]file','[t1.t2.t3]')", 'file' ],
|
|
|
22d2ea |
-[ "VMS->abs2rel('[t1.t2.t3]file','[t1.t2]')", $vms_unix_rpt ? 't3/file' : '[.t3]file' ],
|
|
|
22d2ea |
-[ "VMS->abs2rel('v:[t1.t2.t3]file','v:[t1.t2]')", $vms_unix_rpt ? 't3/file' : '[.t3]file' ],
|
|
|
22d2ea |
-[ "VMS->abs2rel('[t1.t2.t4]','[t1.t2.t3]')", $vms_unix_rpt ? '../t4/' : '[-.t4]' ],
|
|
|
22d2ea |
-[ "VMS->abs2rel('[t1.t2]file','[t1.t2.t3]')", $vms_unix_rpt ? '../file' : '[-]file' ],
|
|
|
22d2ea |
-[ "VMS->abs2rel('[t1.t2.t3.t4]','[t1.t2.t3]')", $vms_unix_rpt ? 't4/' : '[.t4]' ],
|
|
|
22d2ea |
-[ "VMS->abs2rel('[t4.t5.t6]','[t1.t2.t3]')", $vms_unix_rpt ? '../../../t4/t5/t6/' : '[---.t4.t5.t6]' ],
|
|
|
22d2ea |
-[ "VMS->abs2rel('[000000]','[t1.t2.t3]')", $vms_unix_rpt ? '../../../' : '[---]' ],
|
|
|
22d2ea |
-[ "VMS->abs2rel('a:[t1.t2.t4]','a:[t1.t2.t3]')", $vms_unix_rpt ? '../t4/' : '[-.t4]' ],
|
|
|
22d2ea |
-[ "VMS->abs2rel('a:[t1.t2.t4]','[t1.t2.t3]')", $vms_unix_rpt ? '/a/t1/t2/t4/' : 'a:[t1.t2.t4]' ],
|
|
|
22d2ea |
-[ "VMS->abs2rel('[a.-.b.c.-]','[t1.t2.t3]')", $vms_unix_rpt ? '../../../b/' : '[---.b]' ],
|
|
|
22d2ea |
-
|
|
|
22d2ea |
-[ "VMS->rel2abs('[.t4]','[t1.t2.t3]')", $vms_unix_rpt ? '/sys$disk/t1/t2/t3/t4/' : '[t1.t2.t3.t4]' ],
|
|
|
22d2ea |
-[ "VMS->rel2abs('[.t4.t5]','[t1.t2.t3]')", $vms_unix_rpt ? '/sys$disk/t1/t2/t3/t4/t5/' : '[t1.t2.t3.t4.t5]' ],
|
|
|
22d2ea |
-[ "VMS->rel2abs('[]','[t1.t2.t3]')", $vms_unix_rpt ? '/sys$disk/t1/t2/t3/' : '[t1.t2.t3]' ],
|
|
|
22d2ea |
-[ "VMS->rel2abs('[-]','[t1.t2.t3]')", $vms_unix_rpt ? '/sys$disk/t1/t2/' : '[t1.t2]' ],
|
|
|
22d2ea |
-[ "VMS->rel2abs('[-.t4]','[t1.t2.t3]')", $vms_unix_rpt ? '/sys$disk/t1/t2/t4/' : '[t1.t2.t4]' ],
|
|
|
22d2ea |
-[ "VMS->rel2abs('[t1]','[t1.t2.t3]')", $vms_unix_rpt ? '/sys$disk/t1/' : '[t1]' ],
|
|
|
22d2ea |
-
|
|
|
22d2ea |
-[ "VMS->file_name_is_absolute('foo:')", '1' ],
|
|
|
22d2ea |
-[ "VMS->file_name_is_absolute('foo:bar.dat')", '1' ],
|
|
|
22d2ea |
-[ "VMS->file_name_is_absolute('foo:[000000]bar.dat')", '1' ],
|
|
|
22d2ea |
|
|
|
22d2ea |
[ "OS2->case_tolerant()", '1' ],
|
|
|
22d2ea |
|