NAME

18-pwd-removed-cwd.t - pwd() dies when the working directory is removed

DESCRIPTION

After the working directory is removed, getcwd returns undef. pwd() must die with an error naming the getcwd failure rather than return undef, and must not first issue the stale-PWD warning.

Skipped on MSWin32 and VMS, which do not allow removing the working directory.

SEE ALSO

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