File: disable_failing_test_schroot.patch

package info (click to toggle)
ruby-neovim 0.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 396 kB
  • ctags: 280
  • sloc: ruby: 3,389; makefile: 3
file content (29 lines) | stat: -rw-r--r-- 918 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description: Disable the 'fails when attached to a TTY test'
 The tests fails when building in a chroot, see debian bug #817236
 for more info.
Author: Jason Pleau <jason@jpleau.ca>

--- a/spec/acceptance/neovim-ruby-host_spec.rb
+++ b/spec/acceptance/neovim-ruby-host_spec.rb
@@ -14,14 +14,14 @@
     end
   end
 
-  it "fails when attached to a TTY" do
-    PTY.spawn(host_exe) do |rd, wr, pid|
-      expect(rd.gets).to match(/can't run.+interactively/i)
+  #it "fails when attached to a TTY" do
+  #  PTY.spawn(host_exe) do |rd, wr, pid|
+  #    expect(rd.gets).to match(/can't run.+interactively/i)
 
-      _, status = Process.waitpid2(pid)
-      expect(status.exitstatus).to be(1)
-    end
-  end
+  #    _, status = Process.waitpid2(pid)
+  #    expect(status.exitstatus).to be(1)
+  #  end
+  #end
 
   it "loads and runs plugins from Ruby source files" do
     plugin_path = Support.file_path("plugin1.rb")