diff options
Diffstat (limited to 'testdata/local')
| -rw-r--r-- | testdata/local/put.aww | 2 | ||||
| -rw-r--r-- | testdata/local/put.data | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/testdata/local/put.aww b/testdata/local/put.aww index c076bd7..82297e5 100644 --- a/testdata/local/put.aww +++ b/testdata/local/put.aww @@ -14,3 +14,5 @@ sudo chmod 0644 /etc/plain.txt #put!+0516 {{.ScriptDir}}/plain.txt /etc/sudoput_with_mode.txt #put!awwan:bin+0644 {{.ScriptDir}}/plain.txt /etc/sudoput_with_owner.txt + +#put:$noparse {{.ScriptDir}}/plain.txt {{.ScriptDir}}/tmp/plain_noparse.txt diff --git a/testdata/local/put.data b/testdata/local/put.data index e457391..db50a6d 100644 --- a/testdata/local/put.data +++ b/testdata/local/put.data @@ -2,6 +2,10 @@ The host name is encrypt. +<<< tmp/plain_noparse.txt +The host name is {{.Val "host::name"}}. + + <<< missing_val_encrypted Local: Copy: generateFileInput: template: missing_val_encrypted.txt:2:25: executing "missing_val_encrypted.txt" at <.Val>: error calling Val: "secret::pass" is empty |
