[Bug 2305400] Review Request: rust-termsize - Retrieves terminal size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2305400

Fabio Valentini <decathorpe@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|nobody@xxxxxxxxxxxxxxxxx    |decathorpe@xxxxxxxxx
             Status|NEW                         |ASSIGNED
                 CC|                            |decathorpe@xxxxxxxxx
              Flags|                            |fedora-review?



--- Comment #2 from Fabio Valentini <decathorpe@xxxxxxxxx> ---
This fails to build for me with test failures:

```
running 2 tests
test tests::test_get ... FAILED
stty: /dev/stderr: Permission denied
test imp::tests::test_shell ... FAILED
failures:
---- tests::test_get stdout ----
thread 'tests::test_get' panicked at src/lib.rs:41:9:
assertion failed: get().is_some()
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- imp::tests::test_shell stdout ----
thread 'imp::tests::test_shell' panicked at src/nix.rs:75:9:
assertion failed: output.status.success()
failures:
    imp::tests::test_shell
    tests::test_get
```

Looks like the tests expect to be able to open /dev/stdout and /dev/stderr?
I'm not sure they're available in mock environments.
Do the tests pass when you just run "cargo test" on your machine?


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2305400

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202305400%23c2

-- 
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux