Fix #8400 by marking output of `cabal list-bin` (#8670)
commit55d6f3213344d4572f32a0eb7367d282c68fa743
authorAndreas Abel <andreas.abel@ifi.lmu.de>
Mon, 16 Jan 2023 10:49:39 +0000 (16 11:49 +0100)
committerGitHub <noreply@github.com>
Mon, 16 Jan 2023 10:49:39 +0000 (16 10:49 +0000)
tree5d155d84bcfea4045205065c5422aea3f968c756
parentae8ce2c197680b9bf039d50aef7d81fe93c2a0b3
Fix #8400 by marking output of `cabal list-bin` (#8670)

* Fix #8400 by marking output of `cabal list-bin`

The regular output of `cabal list-bin` should go to stdout always, but
be marked for the sake of the testsuite.

* Make test Windows-compatible

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
cabal-install/src/Distribution/Client/CmdListBin.hs
cabal-testsuite/PackageTests/ListBin/Script/cabal.out
cabal-testsuite/PackageTests/ListBin/SelectedComponent/cabal.out
cabal-testsuite/PackageTests/ListBin/SelectedComponent/cabal.test.hs