Public bug reported:

ruby-tty-screen is failing to migrate to the release pocket because the
new version of the package has autopkgtests that are failing:

Failures:

  1) TTY::Screen#size_from_ioctl reads terminal size
     Failure/Error: expect(screen.size_from_ioctl).to eq([51, 211])

       expected: [51, 211]
            got: [13056, 54016]

       (compared using ==)
     # ./spec/unit/screen_spec.rb:115:in `block (4 levels) in <top (required)>'
     # ./spec/unit/screen_spec.rb:108:in `replace_streams'
     # ./spec/unit/screen_spec.rb:114:in `block (3 levels) in <top (required)>'


51 is 33 hex. 13056 is 3300 hex.  There is evidently an endianness issue here 
with some short ints.

** Affects: ruby-tty-screen (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse

** Tags added: update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1968831

Title:
  ruby-tty-screen: endianness bug detected by autopkgtest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ruby-tty-screen/+bug/1968831/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to