Skip to content

Commit

Permalink
add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Nov 1, 2022
1 parent d0ab84b commit 2b75868
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions debian/tests/fai-cd
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ fai-cd -Jm /tmp/mirror faicd64-small.iso >& fai-cd.log
echo fai-cd exit code: $?



# test the results of the commands called
chk-size faicd64-small.iso 700
chk-size faicd64-small.iso 730

# more test after mounting the ISO
# mount -oloop faicd64-small.iso /mnt
# umount /mnt
# chk-size /mnt/boot/initrd.img 30
mount -oloop faicd64-small.iso /mnt
chk-size /mnt/boot/initrd.img 35
chk-file /mnt/FAI-CD

# rm faicd64-small.iso fai-cd.log
umount /mnt
rm faicd64-small.iso

0 comments on commit 2b75868

Please sign in to comment.