2007-01-04 07:23:48 -06:00
|
|
|
|
|
|
|
util-linux regression tests
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
|
|
|
It's expected that for each invasive change or important bugfix you will
|
|
|
|
include a test to your patch.
|
|
|
|
|
2012-07-30 11:37:54 -05:00
|
|
|
Compile tests & run basic tests:
|
2012-07-30 10:59:16 -05:00
|
|
|
|
2012-07-30 11:37:54 -05:00
|
|
|
$ make check
|
2007-01-04 07:23:48 -06:00
|
|
|
|
2012-07-30 11:37:54 -05:00
|
|
|
Run all tests including tests that require root permissions:
|
2007-01-04 07:23:48 -06:00
|
|
|
|
2012-07-30 11:37:54 -05:00
|
|
|
# cd tests
|
|
|
|
# ./run.sh [--verbose] [--memcheck]
|
2007-01-04 07:23:48 -06:00
|
|
|
|
2010-03-31 10:18:23 -05:00
|
|
|
Run subset of tests:
|
2007-01-04 07:23:48 -06:00
|
|
|
|
2012-07-30 11:37:54 -05:00
|
|
|
$ ./run.sh <test_directory-name>
|
2010-03-31 10:18:23 -05:00
|
|
|
|
|
|
|
for example:
|
|
|
|
|
2012-07-30 11:37:54 -05:00
|
|
|
$ ./run.sh blkid
|
|
|
|
$ ./run.sh libmount
|
2007-01-04 07:23:48 -06:00
|
|
|
|
2007-05-25 07:53:22 -05:00
|
|
|
|
|
|
|
|
2012-07-30 11:37:54 -05:00
|
|
|
*** WARNING for root users ***
|
2007-05-25 07:53:22 -05:00
|
|
|
|
2010-03-31 10:18:23 -05:00
|
|
|
The tests touch your /etc/fstab. Please, be careful and use
|
2007-05-25 07:53:22 -05:00
|
|
|
these tests only for development and never on production system.
|