diff options
author | The Linux Kitten <kitten@openbsdbox> | 2014-03-30 14:46:26 +0200 |
---|---|---|
committer | Mike Burns <mike@mike-burns.com> | 2014-04-01 11:57:15 +0200 |
commit | a7c2b6bed845b8512e878c992e07841ea9b88462 (patch) | |
tree | 918ba45f4015bfdffd5440416134b97f20bf633b /test/lsrc.t | |
parent | 2cfc2548818c3e339e279c7f427e90682a7bfa3a (diff) |
Files with the same prefix in different dirs
The bug:
~% ls -1 test-dotfiles/**/*(.)
test-dotfiles/tag-openbsdbox/zshrc_alias
test-dotfiles/tag-openbsdbox/zshrc_bsd
test-dotfiles/tag-zsh/zshrc
~% lsrc -t openbsdbox -t zsh -d test-dotfiles
/home/mike/.zshrc_alias:/home/mike/test-dotfiles/tag-openbsdbox/zshrc_alias
/home/mike/.zshrc_bsd:/home/mike/test-dotfiles/tag-openbsdbox/zshrc_bsd
~%
We expect to also see:
/home/mike/.zshrc:/home/mike/test-dotfiles/tag-zsh/zshrc
This arises because we were checking for files the start with another
name, rather than a full equality.
Diffstat (limited to 'test/lsrc.t')
0 files changed, 0 insertions, 0 deletions