Skip to content

Commit

Permalink
try this?
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertdev committed Nov 11, 2024
1 parent 01dc770 commit 77f0f9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/quick.rs
Original file line number Diff line number Diff line change
Expand Up @@ -433,13 +433,12 @@ mod decompress_command {
}

#[test]
#[ignore = "does not work on CI"]
fn stdin_is_terminal() {
let mut cmd = command();

let (_guard, _master, tty) = unsafe { custom_tty() };

expect_failure!(
cmd.arg("-d").arg("-c").stdin(tty),
cmd.arg("-d").arg("-c").stdin(Stdio::inherit()),
concat!(
"bzip2: I won't read compressed data from a terminal.\n",
"bzip2: For help, type: `bzip2 --help'.\n",
Expand Down Expand Up @@ -1109,6 +1108,7 @@ mod test_command {
}

#[test]
#[ignore = "does not work on CI"]
fn stdin_is_terminal() {
let mut cmd = command();

Expand Down

0 comments on commit 77f0f9c

Please sign in to comment.