DTAP – super simple testing protocol for infrastructure testing

1 points by melezhik ↗ HN
DTAP - super simple testing protocol for infrastructure testing and audit

Write your tests/audit scripts in plain Bash with possible extension on many programming languages

https://github.com/melezhik/doubletap/blob/main/post.md

2 comments

[ 3.1 ms ] story [ 14.5 ms ] thread
file permission check using DTAP is easy:

On Mac OS:

stat -f %A README.md 2>&1 | dtap --box - --params perm=755 --check perm-ok --desc "readme perm 755"

On Linux just use stat -c "%a"