| schemaVersion: "2.0.0" | |
| # Distro-specific tests | |
| fileContentTests: | |
| - name: 'os-version' | |
| expectedContents: ['Debian GNU/Linux 9'] | |
| path: '/etc/issue.net' | |
| fileExistenceTests: | |
| - name: 'Python3' | |
| path: '/usr/bin/python3' | |
| shouldExist: true | |
| commandTests: | |
| - name: 'python3-version' | |
| command: 'python3' | |
| args: ['-V'] | |
| expectedOutput: ['Python 3.6.*'] | |
| metadataTest: | |
| env: | |
| - key: 'PATH' | |
| value: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin' |