reorganize goss-tests

This commit is contained in:
prilka 2019-08-03 14:07:27 +02:00
parent 177c0955be
commit 8a636a7f50
4 changed files with 5 additions and 5 deletions

41
tests/default/goss.yaml Normal file
View file

@ -0,0 +1,41 @@
file:
/opt/JDownloader/JDownloader.jar:
exists: true
mode:
or:
- "0664"
- "0644"
filetype: file
contains: []
/opt/JDownloader/sevenzipjbinding1509.jar:
exists: true
mode:
or:
- "0664"
- "0644"
filetype: file
contains: []
/opt/JDownloader/sevenzipjbinding1509Linux.jar:
exists: true
mode:
or:
- "0664"
- "0644"
filetype: file
contains: []
/tmp:
exists: true
mode: "1777"
filetype: directory
package:
ffmpeg:
installed: true
user:
jdownloader:
exists: true
uid: 1000
gid: 100
groups:
- users
home: []
shell: /bin/false

9
tests/uid-test/goss.yaml Normal file
View file

@ -0,0 +1,9 @@
user:
jdownloader:
exists: true
uid: 1001
gid: 101
groups:
- jdownloader
home: []
shell: /bin/false