aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/test5.out
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-06-20 12:26:03 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2015-06-20 12:32:30 -0700
commit4621e763b63dd764bc96cc5fe36613b4e0404e6b (patch)
tree13243f5fd4083548718ba45e094cb7858759b9ee /tests/test5.out
parent8db162e04809aed2ccde7eb277caf60b732bcb0d (diff)
Fix wildcard expansion in directories without read permissions
When performing wildcard expansion with a literal path segment, instead of enumerating the files in the directory, simply apply the path segment as if we found the directory and continue on. This enables us to expand strings that contain unreadable directory components (common with $HOME) and also improves performance, since we don't waste time enumerating directories unnecessarily. Adds a test too. Fixes #2099
Diffstat (limited to 'tests/test5.out')
-rw-r--r--tests/test5.out1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test5.out b/tests/test5.out
index 66343bb8..bdee60aa 100644
--- a/tests/test5.out
+++ b/tests/test5.out
@@ -1,3 +1,4 @@
Test 1 pass
Test 2 pass
Test 3 pass
+/tmp/fish_wildcard_permissions_test/noaccess/yesaccess/alpha.txt /tmp/fish_wildcard_permissions_test/noaccess/yesaccess/beta.txt /tmp/fish_wildcard_permissions_test/noaccess/yesaccess/delta.txt