in reply to Re^5: Path-Tiny-0.028 Path::Tiny on win32 turns C:/ or C:\ into C: / absolute / realpath are broken
in thread Path-Tiny-0.028 Path::Tiny on win32 turns C:/ or C:\ into C: / absolute / realpath are broken
Cwd::getcwd doesn't take arguments, but ::realpath does
$ prove t\zzz-spec.t t\zzz-spec.t .. 1/? # Failed test 'path('C:')' # at t\zzz-spec.t line 206. # got: 'C:/Documents and Settings/username' # expected: 'D:/perl/cpan/build/Path-Tiny-0.029-r_iWUJ' # Looks like you failed 1 test of 91. t\zzz-spec.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/91 subtests
$ perl -MCwd -le " print Cwd::getcwd(q{C:})" D:/perl/cpan/build $ perl -MCwd -le " print Cwd::realpath(q{C:})" C:/Documents and Settings/username
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: Path-Tiny-0.028 Path::Tiny on win32 turns C:/ or C:\ into C: / absolute / realpath are broken
by choroba (Cardinal) on Aug 20, 2013 at 09:13 UTC | |
Re^7: Path-Tiny-0.028 Path::Tiny on win32 turns C:/ or C:\ into C: / absolute / realpath are broken
by Corion (Patriarch) on Aug 20, 2013 at 09:13 UTC | |
by Anonymous Monk on Aug 20, 2013 at 09:14 UTC | |
by xdg (Monsignor) on Aug 20, 2013 at 19:58 UTC |
In Section
Seekers of Perl Wisdom