crystal
crystal copied to clipboard
Fix std/dir_spec.cr when current path contains symlinks.
getcwd(3) always returns path with all symlinks resolved, but the spec calls
pwd
shell builtin that returns a "logical" path that may contain
symlinks. Call pwd
utility instead and pass "-P" to make sure that it
resolves symlinks and returns a "physical" path.
Fixes #12325