diff --git a/tests/test_cat.rs b/tests/test_cat.rs index d6afe047c..73f55f5a0 100644 --- a/tests/test_cat.rs +++ b/tests/test_cat.rs @@ -24,6 +24,7 @@ where let mut cmd = wrk.command("cat"); modify_cmd(cmd.arg(which).arg("in1.csv").arg("in2.csv")); + wrk.assert_success(&mut cmd); wrk.read_stdout(&mut cmd) } diff --git a/tests/test_snappy.rs b/tests/test_snappy.rs index 0ad175053..a30f25718 100644 --- a/tests/test_snappy.rs +++ b/tests/test_snappy.rs @@ -164,6 +164,8 @@ fn snappy_automatic_decompression() { let mut cmd = wrk.command("count"); cmd.arg(test_file); + wrk.assert_success(&mut cmd); + let got: String = wrk.stdout(&mut cmd); let expected = "100"; assert_eq!(got, expected);