[parted-devel] [PATCH 0/2] Prevent crash resizing FAT with very deep directories

Brian C. Lane bcl at redhat.com
Mon Mar 7 19:49:21 UTC 2016


On Sat, Mar 05, 2016 at 05:14:18PM +0000, Mike Fleetwood wrote:
> It doesn't appear to be valid to run parted tests out of the RPM build
> tree without overriding the dynamic library search path.  Doing this
> allows the test to pass.
>   $ cd ~/rpmbuild/BUILD/parted-3.2/tests/
>   $ su root
>   # export LD_LIBRARY_PATH=/home/fedora/rpmbuild/BUILDROOT/parted-3.2*/lib64
>   # make check TESTS=t3000-resize-fs.sh

Ah! Right, that does cause a bit of confusion. I was using rpmbuild
--rebuild on the potentially new src.rpm and failed to notice that I
hadn't added the libparted/fs/.libs/ path to LD_LIBRARY_PATH in the
.spec %check section. Now it passes just fine.

Thanks for looking into this again, ACK from me, I'll push it in a
minute.

-- 
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)



More information about the parted-devel mailing list