Add smoke gating test
This commit is contained in:
parent
3e983c0b73
commit
d446cfc104
|
@ -0,0 +1 @@
|
|||
1
|
|
@ -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
|
|
@ -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