Add smoke gating test
This commit is contained in:
parent
3e983c0b73
commit
d446cfc104
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
15
plans/runtest.sh
Executable file
15
plans/runtest.sh
Executable 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
6
plans/smoke.fmf
Normal file
@ -0,0 +1,6 @@
|
||||
summary: Basic smoke test
|
||||
prepare:
|
||||
how: install
|
||||
package: [genisoimage, coreutils, isomd5sum]
|
||||
execute:
|
||||
script: plans/runtest.sh
|
Loading…
Reference in New Issue
Block a user