From 98fdd9bd2a4fedf6b2d08cd3f44b571a164cc478 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 25 Aug 2022 09:38:51 +0200 Subject: [PATCH] Refactor smoke test --- plans/smoke.fmf | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/plans/smoke.fmf b/plans/smoke.fmf index 3db056a..ee615b3 100644 --- a/plans/smoke.fmf +++ b/plans/smoke.fmf @@ -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