diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/plans/runtest.sh b/plans/runtest.sh new file mode 100755 index 0000000..1f2f20e --- /dev/null +++ b/plans/runtest.sh @@ -0,0 +1,15 @@ +#!/bin/sh -eux + +# Create testing iso image +rm -rf ./isocontent +mkdir isocontent +dd if=/dev/zero of=isocontent/big_enough_file bs=500K count=1 +mkisofs -o test.iso isocontent + +# Implant and check md5 sum +implantisomd5 test.iso +checkisomd5 --verbose test.iso + +# Destroy testing iso image +rm -rf ./isocontent +rm test.iso diff --git a/plans/smoke.fmf b/plans/smoke.fmf new file mode 100644 index 0000000..b1d4a16 --- /dev/null +++ b/plans/smoke.fmf @@ -0,0 +1,6 @@ +summary: Basic smoke test +prepare: + how: install + package: [genisoimage, coreutils, isomd5sum] +execute: + script: plans/runtest.sh