test: Improve error messages in test_compression
This commit is contained in:
@@ -340,12 +340,12 @@ mod tests {
|
|||||||
// Test with gzip compression
|
// Test with gzip compression
|
||||||
let cmd = format!("echo {} | {} -c gzip --tag gzip", INPUT_A, env);
|
let cmd = format!("echo {} | {} -c gzip --tag gzip", INPUT_A, env);
|
||||||
let output = run_sh(cmd.as_str());
|
let output = run_sh(cmd.as_str());
|
||||||
assert!(output.status.success(), "Command failed: {}", INPUT_A);
|
assert!(output.status.success(), "Command failed: {} {}", cmd, output.status);
|
||||||
|
|
||||||
// Test with bzip2 compression
|
// Test with bzip2 compression
|
||||||
let cmd = format!("echo {} | {} -c bzip2 --tag bzip2", INPUT_A, env);
|
let cmd = format!("echo {} | {} -c bzip2 --tag bzip2", INPUT_A, env);
|
||||||
let output = run_sh(cmd.as_str());
|
let output = run_sh(cmd.as_str());
|
||||||
assert!(output.status.success(), "Command failed: {}", INPUT_A);
|
assert!(output.status.success(), "Command failed: {} {}", cmd, output.status);
|
||||||
|
|
||||||
// Verify all items were created
|
// Verify all items were created
|
||||||
let cmd = format!("{} --list", env);
|
let cmd = format!("{} --list", env);
|
||||||
|
|||||||
Reference in New Issue
Block a user