1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-09 05:24:17 +00:00

improve tests

This commit is contained in:
deadc0de6
2022-05-03 23:13:51 +02:00
committed by deadc0de
parent c31f8ffcd5
commit 3dfa53469e
26 changed files with 108 additions and 71 deletions

View File

@@ -68,7 +68,7 @@ tokend="compressed archive"
touched="touched"
cat > ${cfg} << _EOF
trans:
trans_read:
base64: cat {0} | base64 -d > {1}
uncompress: mkdir -p {1} && tar -xf {0} -C {1}
trans_write:
@@ -85,12 +85,12 @@ dotfiles:
f_abc:
dst: ${tmpd}/abc
src: abc
trans: base64
trans_read: base64
trans_write: base64
d_ghi:
dst: ${tmpd}/ghi
src: ghi
trans: uncompress
trans_read: uncompress
trans_write: compress
chmod: 700
profiles: