NAME

17-chdir-cwd.t - pwd() after Cwd::chdir keeps $PWD valid

DESCRIPTION

Cwd::chdir updates $ENV{ PWD }. After a Cwd::chdir into a symlink to a one-time directory, pwd() must find that $PWD matches the inode of '.' and return $PWD, with the symlink preserved, and without a warning.

Skipped on MSWin32 and VMS, where pwd() does not use $PWD.

SEE ALSO

FindBin::Bin, 16-chdir-builtin.t