Add smoke gating test

This commit is contained in:
Radek Vykydal 2021-08-31 11:01:40 +02:00
parent 3e983c0b73
commit d446cfc104
3 changed files with 22 additions and 0 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

15
plans/runtest.sh Executable file
View File

@ -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

6
plans/smoke.fmf Normal file
View File

@ -0,0 +1,6 @@
summary: Basic smoke test
prepare:
how: install
package: [genisoimage, coreutils, isomd5sum]
execute:
script: plans/runtest.sh