Skip to content

Commit

Permalink
Convert all tests from json to yaml (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
aelsabbahy committed Feb 19, 2017
1 parent e11d437 commit 5909a17
Show file tree
Hide file tree
Showing 43 changed files with 1,465 additions and 2,069 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -4,7 +4,7 @@
/goss
/release
/integration-tests/goss/goss
/integration-tests/**/*-generated*.json
/integration-tests/**/*-generated*
/vendor/
/integration-tests/**/goss-linux-386
/integration-tests/**/goss-linux-amd64
Expand Down
16 changes: 0 additions & 16 deletions integration-tests/goss/alpine3/goss-aa-expected.json

This file was deleted.

9 changes: 9 additions & 0 deletions integration-tests/goss/alpine3/goss-aa-expected.yaml
@@ -0,0 +1,9 @@
package:
apache2:
installed: true
versions:
- 2.4.23-r1
service:
apache2:
enabled: true
running: true
159 changes: 0 additions & 159 deletions integration-tests/goss/alpine3/goss-expected-q.json

This file was deleted.

112 changes: 112 additions & 0 deletions integration-tests/goss/alpine3/goss-expected-q.yaml
@@ -0,0 +1,112 @@
file:
/etc/passwd:
exists: true
contains: []
/tmp/goss/foobar:
exists: false
contains: []
package:
apache2:
installed: true
foobar:
installed: false
vim-tiny:
installed: false
addr:
tcp://google.com:22:
reachable: false
timeout: 1000
tcp://google.com:443:
reachable: true
timeout: 1000
port:
tcp:80:
listening: false
tcp:9999:
listening: false
tcp6:80:
listening: true
service:
apache2:
enabled: true
running: true
foobar:
enabled: false
running: false
user:
foobar:
exists: false
www-data:
exists: false
group:
foobar:
exists: false
www-data:
exists: true
command:
echo 'hi':
exit-status: 0
stdout: []
stderr: []
timeout: 10000
foobar:
exit-status: 127
stdout: []
stderr: []
timeout: 10000
dns:
CNAME:c.dnstest.io:
resolveable: true
timeout: 1000
server: 8.8.8.8
MX:dnstest.io:
resolveable: true
timeout: 1000
server: 8.8.8.8
NS:dnstest.io:
resolveable: true
timeout: 1000
server: 8.8.8.8
PTR:8.8.8.8:
resolveable: true
timeout: 1000
server: 8.8.8.8
SRV:_https._tcp.dnstest.io:
resolveable: true
timeout: 1000
server: 8.8.8.8
TXT:txt._test.dnstest.io:
resolveable: true
timeout: 1000
server: 8.8.8.8
ip6.dnstest.io:
resolveable: true
timeout: 1000
server: 8.8.8.8
localhost:
resolveable: true
timeout: 1000
process:
apache2:
running: false
foobar:
running: false
kernel-param:
kernel.ostype:
value: Linux
mount:
/dev:
exists: true
http:
http://google.com:
status: 301
allow-insecure: false
no-follow-redirects: true
timeout: 5000
body: []
https://www.google.com:
status: 200
allow-insecure: false
no-follow-redirects: false
timeout: 5000
body: []

0 comments on commit 5909a17

Please sign in to comment.