diff options
| author | Shulhan <ms@kilabit.info> | 2023-09-27 00:21:18 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-09-27 00:54:10 +0700 |
| commit | c595d849701d35e81c02e4a834abb4cd2d0a5933 (patch) | |
| tree | 534e2dad5633945661101dc86e8c05e070c3cad2 /testdata/local/local_encrypted.data | |
| parent | d1b393b0d4ca75c8d81d051a332597b7aa3f0ab0 (diff) | |
| download | awwan-c595d849701d35e81c02e4a834abb4cd2d0a5933.tar.xz | |
all: add tests for local with empty and invalid passphrase
While at it, rename the script for testing encrypted value to allow
other tests without encryption later.
Diffstat (limited to 'testdata/local/local_encrypted.data')
| -rw-r--r-- | testdata/local/local_encrypted.data | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testdata/local/local_encrypted.data b/testdata/local/local_encrypted.data new file mode 100644 index 0000000..d4e27b0 --- /dev/null +++ b/testdata/local/local_encrypted.data @@ -0,0 +1,15 @@ +<<< echo_encrypted + +--> local: 3: echo this_is_a_secret +this_is_a_secret + +<<< echo_encrypted_no_pass +Local: NewScript: ParseScript: template: local_encrypted.aww:3:7: executing "local_encrypted.aww" at <.Val>: error calling Val: "secret::pass" is empty + +<<< echo_encrypted_invalid_pass +Local: NewSession: loadEnvFromPaths: LoadPrivateKeyInteractive: x509: decryption password incorrect + +<<< sub_echo_encrypted + +--> local: 1: echo this_is_a_secret_in_sub +this_is_a_secret_in_sub |
