Mercurial > vim
comparison src/testdir/test89.in @ 5176:08eb57382186 v7.4a.014
updated for version 7.4a.014
Problem: Test 86 and 89 have a problem with using a shadow dir.
Solution: Adjust for the different directory structure. (James McCoy)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 13 Jul 2013 14:08:16 +0200 |
parents | 46d6318d5b96 |
children |
comparison
equal
deleted
inserted
replaced
5175:87d6016bd400 | 5176:08eb57382186 |
---|---|
49 :$put =':set MUST reset the other global value' | 49 :$put =':set MUST reset the other global value' |
50 :$put g | 50 :$put g |
51 :$put h | 51 :$put h |
52 :" | 52 :" |
53 :let cwd=getcwd() | 53 :let cwd=getcwd() |
54 :cd ../.. | 54 :cd .. |
55 :" Tests may be run from a shadow directory, so an extra cd needs to be done to | |
56 :" get above src/ | |
57 :if fnamemodify(getcwd(), ':t') != 'src' | cd ../.. | else | cd .. | endif | |
55 :$put ='' | 58 :$put ='' |
56 :$put ='Testing findfile' | 59 :$put ='Testing findfile' |
57 :$put ='' | 60 :$put ='' |
58 :set ssl | 61 :set ssl |
59 :$put =findfile('test19.in','src/test*') | 62 :$put =findfile('test19.in','src/test*') |