aboutsummaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-10-12 01:30:19 +0700
committerShulhan <ms@kilabit.info>2023-10-12 01:40:22 +0700
commit207e7f016bf96ab037f510837940c037111cd42f (patch)
tree1f28958f818da44ebcf6548bb081418e60fb11c2 /testdata
parent6b756d144c5cdb0a0c9b5f8a70b3c936a75f28c9 (diff)
downloadawwan-207e7f016bf96ab037f510837940c037111cd42f.tar.xz
all: return error from executeScriptOnLocal
Instead of breaking the statement when its failed to execute, return the error to the caller, Local.
Diffstat (limited to 'testdata')
-rw-r--r--testdata/local/put.data4
1 files changed, 2 insertions, 2 deletions
diff --git a/testdata/local/put.data b/testdata/local/put.data
index b44cbdd..ceea60f 100644
--- a/testdata/local/put.data
+++ b/testdata/local/put.data
@@ -3,14 +3,14 @@ The host name is encrypt.
<<< missing_val_encrypted
-!!! Copy: generateFileInput: template: missing_val_encrypted.txt:2:25: executing "missing_val_encrypted.txt" at <.Val>: error calling Val: "secret::pass" is empty
+Local: Copy: generateFileInput: template: missing_val_encrypted.txt:2:25: executing "missing_val_encrypted.txt" at <.Val>: error calling Val: "secret::pass" is empty
<<< tmp/decrypted.txt
The host name is encrypt.
The secret password is this_is_a_secret.
<<< encrypted_empty_passphrase.stderr
-!!! Copy: encrypted.txt.vault: private key is missing or not loaded
+Local: Copy: encrypted.txt.vault: private key is missing or not loaded
<<< encrypted_invalid_passphrase
Local: NewSession: .awwan.env.vault: LoadPrivateKeyInteractive: x509: decryption password incorrect