aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test7.in
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-12 14:18:34 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-01-12 14:18:34 -0800
commitdc37a8079e4b1a69300a4bf1bdd00f8e2c66e1d5 (patch)
treeb2903cfe9c29a1c62d5a57250a8ef3c2d2b90878 /tests/test7.in
parent373cca0bf6834269c2b4fb6f27bcbf1c548ff983 (diff)
Added a seq function that defers to the seq command if present
Diffstat (limited to 'tests/test7.in')
-rw-r--r--tests/test7.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test7.in b/tests/test7.in
index d642e71e..22f5d92c 100644
--- a/tests/test7.in
+++ b/tests/test7.in
@@ -110,3 +110,15 @@ if not echo skip1 > /dev/null
else if echo skip2 > /dev/null
echo "zeta 6.2"
end
+
+echo '###'
+
+# Ensure 'type' works
+# https://github.com/fish-shell/fish-shell/issues/513
+function fish_test_type_zzz
+ true
+end
+# Should succeed
+type fish_test_type_zzz >/dev/null ; echo $status
+# Should fail
+type -f fish_test_type_zzz >/dev/null ; echo $status