| # TODO(xingao) Update to 2.0.0 to enable metadataTest. |
| schemaVersion: "1.0.0" |
| |
| commandTests: |
| - name: 'check-locale' |
| command: ['sh', '-c', 'echo $LC_ALL'] |
| expectedOutput: ['C.UTF-8'] |
| - name: 'check-ed' |
| command: ['bash', '-c', 'ed --version'] |
| expectedOutput: ['GNU [eE]d .*'] |
| - name: 'check-file' |
| command: ['bash', '-c', 'file --version'] |
| expectedOutput: ['file-.*'] |
| - name: 'check-git' |
| command: ['bash', '-c', 'git --version'] |
| expectedOutput: ['git version .*'] |
| - name: 'check-less' |
| command: ['bash', '-c', 'less --version'] |
| expectedOutput: ['less .*'] |
| - name: 'check-netcat' |
| command: ['bash', '-c', 'nc -h 2>&1'] |
| expectedOutput: ['\[v.*'] |
| - name: 'check-openssl' |
| command: ['bash', '-c', 'openssl version'] |
| expectedOutput: ['OpenSSL .*'] |
| - name: 'check-patch' |
| command: ['bash', '-c', 'patch --version'] |
| expectedOutput: ['GNU patch .*'] |
| - name: 'check-wget' |
| command: ['bash', '-c', 'wget --version'] |
| expectedOutput: ['GNU Wget.* built on linux-gnu.*'] |
| - name: 'check-zip' |
| command: ['bash', '-c', 'zip --version'] |
| expectedOutput: ['.*This is Zip.*'] |
| |
| fileExistenceTests: |
| - name: 'Root' |
| isDirectory: true |
| path: '/' |
| shouldExist: true |