mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 07:43:18 +08:00
b00b1af152
realpath() will return NULL and sets errno if it fails. We asserted that realpath(".") does not fail. We also didn't really check that it was successful. Made sure we'll get a perror telling us about what went wrong if something like this happens again. Updated tests and added test case Fixes #5351
3 lines
124 B
Plaintext
3 lines
124 B
Plaintext
builtin realpath: /this/better/be/an/invalid/path: No such file or directory
|
|
builtin realpath: .: No such file or directory
|