| Abaakouk Mehdi | 5fb87e7 | 2010-07-21 12:51:38 +0200 | [diff] [blame^] | 1 | Tests for "gf" on ${VAR} |
| 2 | |||||
| 3 | STARTTEST | ||||
| 4 | :so small.vim | ||||
| 5 | :if has("ebcdic") | ||||
| 6 | : set isfname=@,240-249,/,.,-,_,+,,,$,:,~,{,} | ||||
| 7 | :else | ||||
| 8 | : set isfname=@,48-57,/,.,-,_,+,,,$,:,~,{,} | ||||
| 9 | :endif | ||||
| 10 | :if has("unix") | ||||
| 11 | :let $CDIR = "." | ||||
| 12 | /CDIR | ||||
| 13 | :else | ||||
| 14 | :if has("amiga") | ||||
| 15 | :let $TDIR = "/testdir" | ||||
| 16 | :else | ||||
| 17 | :let $TDIR = "." | ||||
| 18 | :endif | ||||
| 19 | /TDIR | ||||
| 20 | :endif | ||||
| 21 | gf | ||||
| 22 | :w! test.out | ||||
| 23 | :qa! | ||||
| 24 | ENDTEST | ||||
| 25 | |||||
| 26 | ${CDIR}/test17a.in | ||||
| 27 | $TDIR/test17a.in | ||||