Commenting out line #476 from spec file helps - skipping tests altogether - ofcourse its
not viable in long term - thou rpmbuild now succeeded.
#make check
--
----------------------------------------------
Andres Toomsalu, andres(a)active.ee
On 01.04.2010, at 1:16, Active Systems OÜ wrote:
quickcheck fails too (with other reason):
Module Size Used by
dm_mod 101777 0
virtio_blk 41417 0
virtio_net 47297 0
ata_piix 57029 0
libata 209745 1 ata_piix
scsi_mod 197337 1 libata
i2c_piix4 43597 0
i2c_core 56129 1 i2c_piix4
virtio_pci 41545 0
virtio_ring 37441 1 virtio_pci
virtio 39365 3 virtio_blk,virtio_net,virtio_pci
ide_cd 73825 0
cdrom 68713 1 ide_cd
uptime: 36.33 2.65
guestfsd: error while loading shared libraries: libaugeas.so.0: cannot open shared object
file: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
<0>Rebooting in 1 seconds..make: *** [quickcheck] Alarm clock
error: Bad exit status from /home/rpmbuilder/redhat/tmp/rpm-tmp.32517 (%check)
--
----------------------------------------------
Andres Toomsalu, andres(a)active.ee
On 01.04.2010, at 0:45, Richard W.M. Jones wrote:
>
> What you can do if you just want a quick "does it work" test of your
> RPM is to change the %check section. Remove anything in that section
> of the spec file and replace it with:
>
> %check
> make quickcheck
>
> (This basically just runs libguestfs-test-tool)
>
> Rich.
>
> --
> Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
> virt-top is 'top' for virtual machines. Tiny program with many
> powerful monitoring features, net stats, disk stats, logging, etc.
>
http://et.redhat.com/~rjones/virt-top
>
_______________________________________________
Libguestfs mailing list
Libguestfs(a)redhat.com
https://www.redhat.com/mailman/listinfo/libguestfs