Karsten Hopp 2e7c51
To: vim_dev@googlegroups.com
Karsten Hopp 2e7c51
Subject: Patch 7.3.470
Karsten Hopp 2e7c51
Fcc: outbox
Karsten Hopp 2e7c51
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 2e7c51
Mime-Version: 1.0
Karsten Hopp 2e7c51
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 2e7c51
Content-Transfer-Encoding: 8bit
Karsten Hopp 2e7c51
------------
Karsten Hopp 2e7c51
Karsten Hopp 2e7c51
Patch 7.3.470
Karsten Hopp 2e7c51
Problem:    Test 62 fails when compiled without GUI and X11.
Karsten Hopp 2e7c51
Solution:   Don't test :drop when it is not supported.
Karsten Hopp 2e7c51
Files:	    src/testdir/test62.in
Karsten Hopp 2e7c51
Karsten Hopp 2e7c51
Karsten Hopp 2e7c51
*** ../vim-7.3.469/src/testdir/test62.in	2012-02-22 19:13:00.000000000 +0100
Karsten Hopp 2e7c51
--- src/testdir/test62.in	2012-03-07 22:46:17.000000000 +0100
Karsten Hopp 2e7c51
***************
Karsten Hopp 2e7c51
*** 49,55 ****
Karsten Hopp 2e7c51
  :tabclose
Karsten Hopp 2e7c51
  :call append(line('$'), test_status)
Karsten Hopp 2e7c51
  :"
Karsten Hopp 2e7c51
! :"
Karsten Hopp 2e7c51
  :" Test for ":tab drop exist-file" to keep current window.
Karsten Hopp 2e7c51
  :sp test1
Karsten Hopp 2e7c51
  :tab drop test1
Karsten Hopp 2e7c51
--- 49,55 ----
Karsten Hopp 2e7c51
  :tabclose
Karsten Hopp 2e7c51
  :call append(line('$'), test_status)
Karsten Hopp 2e7c51
  :"
Karsten Hopp 2e7c51
! :if has('gui') || has('clientserver')
Karsten Hopp 2e7c51
  :" Test for ":tab drop exist-file" to keep current window.
Karsten Hopp 2e7c51
  :sp test1
Karsten Hopp 2e7c51
  :tab drop test1
Karsten Hopp 2e7c51
***************
Karsten Hopp 2e7c51
*** 85,90 ****
Karsten Hopp 2e7c51
--- 85,96 ----
Karsten Hopp 2e7c51
  :tabclose
Karsten Hopp 2e7c51
  :q
Karsten Hopp 2e7c51
  :call append(line('$'), test_status)
Karsten Hopp 2e7c51
+ :else
Karsten Hopp 2e7c51
+ :" :drop not supported
Karsten Hopp 2e7c51
+ :call append(line('$'), 'tab drop 1: pass')
Karsten Hopp 2e7c51
+ :call append(line('$'), 'tab drop 2: pass')
Karsten Hopp 2e7c51
+ :call append(line('$'), 'tab drop 3: pass')
Karsten Hopp 2e7c51
+ :endif
Karsten Hopp 2e7c51
  :"
Karsten Hopp 2e7c51
  :"
Karsten Hopp 2e7c51
  :/^Results/,$w! test.out
Karsten Hopp 2e7c51
*** ../vim-7.3.469/src/version.c	2012-03-07 22:52:30.000000000 +0100
Karsten Hopp 2e7c51
--- src/version.c	2012-03-07 22:53:40.000000000 +0100
Karsten Hopp 2e7c51
***************
Karsten Hopp 2e7c51
*** 716,717 ****
Karsten Hopp 2e7c51
--- 716,719 ----
Karsten Hopp 2e7c51
  {   /* Add new patch number below this line */
Karsten Hopp 2e7c51
+ /**/
Karsten Hopp 2e7c51
+     470,
Karsten Hopp 2e7c51
  /**/
Karsten Hopp 2e7c51
Karsten Hopp 2e7c51
-- 
Karsten Hopp 2e7c51
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 2e7c51
158. You get a tuner card so you can watch TV while surfing.
Karsten Hopp 2e7c51
Karsten Hopp 2e7c51
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 2e7c51
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 2e7c51
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 2e7c51
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///