rpms/libguestfs/devel libguestfs.spec,1.12,1.13

Richard W.M. Jones rjones at fedoraproject.org
Mon May 18 17:15:48 UTC 2009


Author: rjones

Update of /cvs/pkgs/rpms/libguestfs/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv12302

Modified Files:
	libguestfs.spec 
Log Message:
Tests take a very long time to run, so include a simple quick check.



Index: libguestfs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libguestfs/devel/libguestfs.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- libguestfs.spec	18 May 2009 16:56:29 -0000	1.12
+++ libguestfs.spec	18 May 2009 17:15:17 -0000	1.13
@@ -4,7 +4,7 @@
 Summary:     Access and modify virtual machine disk images
 Name:        libguestfs
 Version:     1.0.26
-Release:     3%{?dist}
+Release:     4%{?dist}
 License:     LGPLv2+
 Group:       Development/Libraries
 URL:         http://et.redhat.com/~rjones/libguestfs/
@@ -268,8 +268,21 @@ make INSTALLDIRS=vendor %{?_smp_mflags}
 
 
 %check
-make check
-
+#make check
+./fish/guestfish -v <<EOT
+alloc test.img 100M
+run
+sfdisk /dev/sda 0 0 0 ,
+pvcreate /dev/sda1
+vgcreate VG /dev/sda1
+lvcreate LV1 VG 10M
+lvcreate LV2 VG 10M
+mkfs ext2 /dev/VG/LV1
+mount /dev/VG/LV1 /
+ll /
+lvs
+sync
+EOT
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -428,8 +441,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
-* Mon May 18 2009 Richard Jones <rjones at redhat.com> - 1.0.26-3
+* Mon May 18 2009 Richard Jones <rjones at redhat.com> - 1.0.26-4
 - Experimentally try to reenable ppc and ppc64 builds.
+- Tests take a very long time to run, so include a simple quick check.
 
 * Mon May 18 2009 Richard Jones <rjones at redhat.com> - 1.0.26-1
 - New upstream version 1.0.26.




More information about the scm-commits mailing list