]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.2.1194: test failure because shell prompt differs v8.2.1194
authorBram Moolenaar <Bram@vim.org>
Sun, 12 Jul 2020 17:52:36 +0000 (19:52 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 12 Jul 2020 17:52:36 +0000 (19:52 +0200)
Problem:    Test failure because shell prompt differs.
Solution:   Set the shell prompt.

src/testdir/dumps/Test_popupwin_term_01.dump
src/testdir/dumps/Test_popupwin_term_02.dump
src/testdir/test_popupwin.vim
src/version.c

index edc0b001b415019cc816fc74fd5905c0def61227..473c991c8621d1b137f2206c7f143154dcaa2c96 100644 (file)
@@ -1,4 +1,4 @@
-|$+0&#ffffff0| @73
+|v+0&#ffffff0|i|m|>| @70
 @75
 @34|╔+0#0000001#ffd7ff255|═@3|╗| +0#0000000#ffffff0@34
 @34|║+0#0000001#ffd7ff255|1@3|║| +0#0000000#ffffff0@34
index d5636c9838d31a25e25d570b6e9676e337032d5a..afa330f326f428babf6c604df2d2170aecea76ca 100644 (file)
@@ -1,4 +1,4 @@
-|$+0&#ffffff0| @73
+|v+0&#ffffff0|i|m|>| @70
 @75
 @14|╔+0#0000001#ffd7ff255|═@3|╗| +0#0000000#ffffff0@54
 @14|║+0#0000001#ffd7ff255|1@3|║| +0#0000000#ffffff0@54
index 140f6825b0760208d3cd08b3a0e85cf1b485bbf9..45f55f55b20b29908aec8f4796c8172df09de045 100644 (file)
@@ -585,6 +585,7 @@ func Test_popup_drag_termwin()
   " create a popup that covers the terminal window
   let lines =<< trim END
        set shell=/bin/sh noruler
+       let $PS1 = 'vim> '
         terminal
        $wincmd w
        let winid = popup_create(['1111', '2222'], #{
index 96f29fa3780467374cf2e12098c5e5bfdbbae867..68c6db4d5cb50502b3f897f132a5165f4271761c 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1194,
 /**/
     1193,
 /**/