simple test framework

This commit is contained in:
Solene Rapenne 2022-03-14 08:26:00 +01:00
parent f9367552a7
commit 208956c5ce
2 changed files with 26 additions and 0 deletions

2
Makefile Normal file
View File

@ -0,0 +1,2 @@
test:
./impermanence.pl -t tests/impermanence.yml

24
tests/impermanence.yml Normal file
View File

@ -0,0 +1,24 @@
size: 500m
files:
- .Xdefaults
- .Xresources
- .bashrc
- .gitconfig
- .kshrc
- .profile
- .xsession
- .config/fish/config.fish
- Datastore/Music/Band1/file.ogg
directories:
- .config/fish
- .config/kak
- .mozilla
- foo/bar/those
- Documents
- Downloads
- Datastore/Music
- Datastore
- Datastore/Music/Band1
- .config
- foo/bar
- foo/bar/hello