On Wed, Nov 17, 2010 at 1:14 PM, Colin Watson <cjwat...@ubuntu.com> wrote: ... > * libparted/arch/linux.c (_device_get_length): Return the value of > PARTED_TEST_DEVICE_LENGTH if set in the environment, strictly for use by > the test suite. ...
The patch itself looks OK however as discussed at IRC I think that LD_PRELOAD could be used to override ioctl for the test case. This would avoid us to use getenv on it. -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br _______________________________________________ bug-parted mailing list bug-parted@gnu.org http://lists.gnu.org/mailman/listinfo/bug-parted