Refactor smoke test
This commit is contained in:
parent
0a977049e8
commit
98fdd9bd2a
@ -1,10 +1,16 @@
|
||||
summary: Basic smoke test
|
||||
discover:
|
||||
how: shell
|
||||
tests:
|
||||
- name: /smoke/wrap
|
||||
test: |
|
||||
set -x
|
||||
bnd wrap -b foo -v 1.2.3 /usr/share/java/ant/ant-bootstrap.jar
|
||||
unzip ant-bootstrap.jar META-INF/MANIFEST.MF
|
||||
grep ^Bundle-SymbolicName:.foo META-INF/MANIFEST.MF
|
||||
grep ^Bundle-Version:.1.2.3 META-INF/MANIFEST.MF
|
||||
prepare:
|
||||
how: install
|
||||
package: unzip
|
||||
execute:
|
||||
script: |
|
||||
bnd wrap -b foo -v 1.2.3 /usr/share/java/ant/ant-bootstrap.jar
|
||||
unzip ant-bootstrap.jar META-INF/MANIFEST.MF
|
||||
grep ^Bundle-SymbolicName:.foo META-INF/MANIFEST.MF
|
||||
grep ^Bundle-Version:.1.2.3 META-INF/MANIFEST.MF
|
||||
how: tmt
|
||||
|
Loading…
Reference in New Issue
Block a user