From 0e029ae775125d9f26f1df545c4af0312c3e0c50 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Tue, 9 Feb 2021 21:07:21 +0100 Subject: [PATCH] HACK: dump stdout --- functional-tests/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functional-tests/src/lib.rs b/functional-tests/src/lib.rs index 756e832f5..c2fe4da4c 100644 --- a/functional-tests/src/lib.rs +++ b/functional-tests/src/lib.rs @@ -447,6 +447,7 @@ b: ba"# .output() .expect("Error running sops"); assert!(output.status.success(), "SOPS didn't return successfully"); + println!("stdout: '{test}'", test=String::from_utf8_lossy(&output.stdout)); assert!(String::from_utf8_lossy(&output.stdout).contains("first comment in file"), "Comment was not decrypted"); assert!(String::from_utf8_lossy(&output.stdout).contains("this-is-a-comment"), "Comment was not decrypted"); } @@ -460,6 +461,7 @@ b: ba"# .output() .expect("Error running sops"); assert!(output.status.success(), "SOPS didn't return successfully"); + println!("stdout: '{test}'", test=String::from_utf8_lossy(&output.stdout)); assert!(String::from_utf8_lossy(&output.stdout).contains("first comment in file"), "Comment was not decrypted"); assert!(String::from_utf8_lossy(&output.stdout).contains("this-is-a-comment"), "Comment was not decrypted"); }