[libvirt] [PATCH] tests: Fix the build failure on s390

Jiri Denemark jdenemar at redhat.com
Mon Feb 10 13:48:03 UTC 2014


On Mon, Feb 10, 2014 at 21:35:18 +0800, Osier Yang wrote:
> The build works fine on other architectures with commit 0b4f76fc5, but
> for s390:
> 
> TEST: virscsitest
>  1) test1  ... OK
>  2) test2  ... libvirt:  error : SCSI device '1:0:0:0': could not access
>  /builddir/build/BUILD/libvirt-1.1.1/tests/virscsidata/sg8: No such file
>  or directory
> FAILED
> 
> It's caused by the "patch" on the s390 system either doesn't create
> the "empty files", or removed them after the patch was applied. Anyway,
> this patch is to fix it by simply adding useless numbers to the 2
> test input files.

This is pretty strange. AFAIK no patch binary creates empty files
although git does that. If the build failed just because of that, it
should have failed on other archs too.

Jirka




More information about the libvir-list mailing list