Skip to content

The streams_tests/xor_file test fails on Windows #29014

@hebasto

Description

@hebasto

Is there an existing issue for this?

  • I have searched the existing issues

Current behaviour

>.\bitcoin-26.0\bin\test_bitcoin.exe -t streams_tests/xor_file
Running 1 test case...
unknown location(0): fatal error: in "streams_tests/xor_file": std::ios_base::failure[abi:cxx11]: AutoFile::write: file handle is nullptr: iostream error
test/streams_tests.cpp(29): last checkpoint

*** 1 failure is detected in the test module "Bitcoin Core Test Suite"

Expected behaviour

Tests pass with no errors.

Steps to reproduce

  1. Download https://bitcoincore.org/bin/bitcoin-core-26.0/bitcoin-26.0-win64.zip
  2. Unpack the archive.
  3. Run test_bitcoin.exe in the terminal.

Relevant log output

No response

How did you obtain Bitcoin Core

Pre-built binaries

What version of Bitcoin Core are you using?

v26.0

Operating system and version

Windows 11 Pro 23H2

Machine specifications

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions