diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-09-01 14:51:37 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-09-01 14:51:37 +0000 |
commit | ac98e5db6e5486416966fc842a2d82394f0d4a7a (patch) | |
tree | 0c206c01c5f16c49eff349d8a8d45bccca01e2b6 /src/testdir/test54.in | |
parent | 12b87e55bad8a9fb51b48dcf6e0287a5b62450b3 (diff) |
updated for version 7.2-007v7.2.007
Diffstat (limited to 'src/testdir/test54.in')
-rw-r--r-- | src/testdir/test54.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/testdir/test54.in b/src/testdir/test54.in index 82a8bdd36d..9fc6537e08 100644 --- a/src/testdir/test54.in +++ b/src/testdir/test54.in @@ -3,8 +3,13 @@ Some tests for buffer-local autocommands STARTTEST :so small.vim :e xx -:!rm -f test.out -:au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out +:if has("vms") +: !del test.out.* +: au BufLeave <buffer> :!write sys$output "buffer-local autommand in %" > test.out +:else +: !rm -f test.out +: au BufLeave <buffer> :!echo buffer-local autommand in %>> test.out +:endif :e somefile " here, autocommand for xx shall write test.out : " but autocommand shall not apply to buffer named <buffer> :bwipe xx " here, autocommand shall be auto-deleted |