diff options
Diffstat (limited to 'trip.rc')
| -rw-r--r-- | trip.rc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -587,6 +587,14 @@ fn x {echo x.y $(x.y)} ~ ``''{whatis -f x} 'fn x {echo x.y $''x.y''} ' || fail sneaky parens bug +# before rc-1.7.1, certain glob patterns could fail on broken symlinks +mkdir $tmp.qux +ln -s /frobnatz $tmp.qux/foo +x=$tmp.qux/foo* +~ $x $tmp.qux/foo || { rm -rf $tmp.qux; fail broken symlink globbing } +x=$tmp.qux*/foo +~ $x $tmp.qux/foo || { rm -rf $tmp.qux; fail broken symlink globbing } + # large file support # this is, by no means, an exhaustive test. since particular file |