On Tuesday 17 July 2007, Karel Zak wrote:
> On Tue, Jul 17, 2007 at 04:42:08PM -0400, Mike Frysinger wrote:
> > On Tuesday 17 July 2007, Karel Zak wrote:
> > >  Don't distribute util-linux-ng tests to end-users! Don't execute
> > >  util-linux-ng tests automatically in your .spec files, debian/rules!
> >
> > how come ?
>
>  We have tools like mount, swapon, hwclock ... it's not possible to
>  test these utils separately without any impact to the rest of your
>  system.
>
>  Tests touch/modify:
>
>     - /etc/fstab
>     - /etc/blkid.tab
>     - hw clock
>     - /proc/sys/kernel/shm*
>     - call swapon/swapoff, mount/umount, losetup
>
>
>  I don't think it's good idea to blindly use the tests on production
>  systems.

perhaps we should split these then between tests that are "safe" and tests 
which funk with the system ... `make check` would invoke the tests like 
standard autotool packages, but the default could be controlled 
via ./configure --enable-maintainer-mode ...
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to