diff options
Diffstat (limited to 'trip.rc')
| -rw-r--r-- | trip.rc | 18 |
1 files changed, 7 insertions, 11 deletions
@@ -587,14 +587,10 @@ fn x {echo x.y $(x.y)} ~ ``''{whatis -f x} 'fn x {echo x.y $''x.y''} ' || fail sneaky parens bug -# large file support - -# this is, by no means, an exhaustive test. since particular file -# systems do, or do not, support large files, we try it both in the -# build directory and /tmp. - -if (./tripping l > big.$pid >[2] /dev/null || - ./tripping l > /tmp/big.$pid >[2] /dev/null) { - echo large file support seems to work -} else echo large file support seems NOT to work - see INSTALL file -rm -f big.$pid /tmp/big.$pid +# 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 } |