From 912c61c1d48c7823dd69206ce0507dbff23c3b77 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Wed, 17 Jan 2024 14:20:10 +0000 Subject: [PATCH] rage: Add test case for missing identities file --- .../cmd/rage/decrypt-missing-identities-file.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 rage/tests/cmd/rage/decrypt-missing-identities-file.toml diff --git a/rage/tests/cmd/rage/decrypt-missing-identities-file.toml b/rage/tests/cmd/rage/decrypt-missing-identities-file.toml new file mode 100644 index 00000000..69bee689 --- /dev/null +++ b/rage/tests/cmd/rage/decrypt-missing-identities-file.toml @@ -0,0 +1,11 @@ +bin.name = "rage" +args = "--decrypt -i key.txt" +status = "failed" +stdin = "" +stdout = "" +stderr = """ +Error: failed to fill whole buffer + +[ Did rage not do what you expected? Could an error be more useful? ] +[ Tell us: https://str4d.xyz/rage/report ] +"""