aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/fish_realpath.out
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-04-13 17:14:50 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-04-28 16:03:27 -0700
commit6c329e8a839c1b5eeaf2e545b4f4084c3a8830f7 (patch)
tree65597d006e0cd94e9f74b95b67c75451b2daecd8 /tests/fish_realpath.out
parent5fa8370c133738aa21a3b4a7d3a89f9188068498 (diff)
provide a realpath implementation
Not all distros have a `realpath` command. Provide a function that uses the real command if available else use the fish builtin. Fixes #2932
Diffstat (limited to 'tests/fish_realpath.out')
-rw-r--r--tests/fish_realpath.out5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/fish_realpath.out b/tests/fish_realpath.out
new file mode 100644
index 00000000..d14bca83
--- /dev/null
+++ b/tests/fish_realpath.out
@@ -0,0 +1,5 @@
+first invalid path handled okay
+/
+fish
+fish/real_file
+pwd-resolved-to-itself