Skip to content

test_cp_arg_interactive_update fails on freebsd #4725

@sylvestre

Description

@sylvestre
  ---- test_cp::test_cp_arg_interactive_update stdout ----
  touch: /tmp/.tmpovsBUN/a
  touch: /tmp/.tmpovsBUN/b
  run: /Users/runner/work/coreutils/coreutils/target/debug/coreutils cp -i -u a b
  thread 'test_cp::test_cp_arg_interactive_update' panicked at 'called `Result::unwrap()` on an `Err` value: Custom { kind: Other, error: "failed to write to stdin of child: Broken pipe (os error 32)" }', tests/common/util.rs:2004:18
  stack backtrace:
     0: rust_begin_unwind
               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/panicking.rs:575:5
     1: core::panicking::panic_fmt
               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/panicking.rs:64:14
     2: core::result::unwrap_failed
               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/result.rs:1790:5
     3: core::result::Result<T,E>::unwrap
               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/result.rs:1112:23
     4: tests::common::util::UChild::wait_with_output
               at ./tests/common/util.rs:2001:13
     5: tests::common::util::UChild::wait
               at ./tests/common/util.rs:1948:22
     6: tests::common::util::UCommand::run
               at ./tests/common/util.rs:1543:9
     7: tests::common::util::UCommand::succeeds
               at ./tests/common/util.rs:1558:26
     8: tests::test_cp::test_cp_arg_interactive_update
               at ./tests/by-util/test_cp.rs:266:5
     9: tests::test_cp::test_cp_arg_interactive_update::{{closure}}
               at ./tests/by-util/test_cp.rs:260:37
    10: core::ops::function::FnOnce::call_once
               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/ops/function.rs:250:5
    11: core::ops::function::FnOnce::call_once
               at /rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/core/src/ops/function.rs:250:5
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
  

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions