You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Three fixes to get chdir.t working:
1. Exporter.java: Add support for :DEFAULT export tag
- :DEFAULT now correctly expands to @export contents
- Fixes File::Spec::Functions import issue
2. perl_test_runner.pl: Fix working directory for t/ tests
- Tests in t/op/, t/base/, etc. now run from t/ directory
- Allows tests to require './test.pl' correctly
3. Directory.java: Complete chdir() implementation
- chdir('') now fails with ENOENT (errno 2)
- chdir() checks HOME, LOGDIR, SYS$LOGIN env vars
- SYS$LOGIN only checked on VMS, not darwin/macOS
- Proper errno values: ENOENT (2) and EINVAL (22)
- fchdir throws 'unimplemented' error for filehandles
Test Results:
- Before: 0/0 tests (compilation error)
- After: 51/51 tests passing (100%)
0 commit comments