OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
doc
/
util-linux
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
11/10/2024 09:42:49 AM
rwxr-xr-x
📄
00-about-docs.txt
260 bytes
12/21/2017 02:44:24 PM
rw-r--r--
📄
AUTHORS.gz
11.1 KB
09/16/2020 06:43:15 PM
rw-r--r--
📄
NEWS.Debian.gz
1.11 KB
02/14/2018 10:20:23 PM
rw-r--r--
📄
PAM-configuration.txt
671 bytes
12/21/2017 02:44:24 PM
rw-r--r--
📄
blkid.txt
3.18 KB
12/21/2017 02:44:24 PM
rw-r--r--
📄
cal.txt
2.21 KB
12/21/2017 02:44:24 PM
rw-r--r--
📄
changelog.Debian.gz
1.88 KB
09/16/2020 06:43:15 PM
rw-r--r--
📄
col.txt
1.87 KB
12/21/2017 02:44:24 PM
rw-r--r--
📄
copyright
17.55 KB
02/14/2018 10:20:24 PM
rw-r--r--
📄
deprecated.txt
2.66 KB
12/21/2017 02:44:24 PM
rw-r--r--
📁
examples
-
09/18/2020 06:25:31 AM
rwxr-xr-x
📄
getopt.txt
992 bytes
12/21/2017 02:44:24 PM
rw-r--r--
📄
getopt_changelog.txt
1.88 KB
12/21/2017 02:44:24 PM
rw-r--r--
📄
howto-build-sys.txt
3.12 KB
12/21/2017 02:44:24 PM
rw-r--r--
📄
howto-compilation.txt
1.98 KB
12/21/2017 02:44:24 PM
rw-r--r--
📄
howto-contribute.txt.gz
3.06 KB
12/21/2017 02:44:24 PM
rw-r--r--
📄
howto-debug.txt
2.38 KB
12/21/2017 02:44:24 PM
rw-r--r--
📄
howto-man-page.txt.gz
2.25 KB
12/21/2017 02:44:24 PM
rw-r--r--
📄
howto-pull-request.txt.gz
4.16 KB
12/21/2017 02:44:24 PM
rw-r--r--
📄
howto-tests.txt
3.62 KB
12/21/2017 02:44:24 PM
rw-r--r--
📄
howto-usage-function.txt.gz
2.27 KB
12/21/2017 02:44:24 PM
rw-r--r--
📄
hwclock.txt
148 bytes
12/21/2017 02:44:24 PM
rw-r--r--
📄
modems-with-agetty.txt
2.56 KB
12/21/2017 02:44:24 PM
rw-r--r--
📄
mount.txt
522 bytes
12/21/2017 02:44:24 PM
rw-r--r--
📄
parse-date.txt.gz
7.93 KB
12/21/2017 02:44:24 PM
rw-r--r--
📄
pg.txt
448 bytes
12/21/2017 02:44:24 PM
rw-r--r--
📄
poeigl.txt.gz
8.68 KB
12/21/2017 02:44:24 PM
rw-r--r--
📄
release-schedule.txt
1.32 KB
12/21/2017 02:44:24 PM
rw-r--r--
📁
releases
-
09/18/2020 06:25:31 AM
rwxr-xr-x
Editing: howto-tests.txt
Close
util-linux regression tests ~~~~~~~~~~~~~~~~~~~~~~~~~~~ It's expected that for each invasive change or important bugfix you will include a test to your patch. Compile tests & run basic tests: $ make check Note that the configure option --disable-static disables many of libmount and libblkid unit tests. Run all tests including tests that require root permissions: # cd tests # ./run.sh [--verbose] [--memcheck] Alternatively using sudo and make: $ make check TS_COMMAND="true" $ sudo -E make check TS_OPTS="--parallel=1" note that as root you have to manually remove output and diff directories # rm -rf output diff or run 'make clean' as root. Run subset of tests: $ ./run.sh <test_directory-name> for example: $ ./run.sh blkid $ ./run.sh libmount The tests is possible to exclude by ./run.sh --exclude=<list> where the <list> is blank separated test names in format "testdir/testname", for example: $ ./run.sh --exclude="mount/move" The --exclude is evaluated by the ./run.sh script only. See below TS_OPT_testdir_[testscript_]fake= environment variable which provides more powerful functionality to skip tests. *** WARNING for root users *** The tests touch your /etc/fstab, initialize loop devices or scsi_debug devices if executed with root permissions. Please, be careful and use these tests only for development and never on production system. environment variables --------------------- TS_COMMAND Evaluated by "make check" to override the default command (run.sh). Example: - build all test dependencies, but skip the actual test $ make check TS_COMMAND="true" TS_OPTS Evaluated by "make check" to pass options.to run.sh (see ./run.sh --help). Examples: - run utmp tests only $ make check TS_OPTS="--parallel=1 utmp" TS_OPT_testdir_[testscript_]fake="<yes|no>" Evaluated by any test script to skip certain tests. Examples: - skip all the tests within "fdisk" test-direcrory: $ make check TS_OPT_fdisk_fake="yes" - skip only "fdisk/bsd" test: $ make check TS_OPT_fdisk_bsd_fake="yes" - skip all "fdisk" tests except fdisk/bsd: $ make check TS_OPT_fdisk_fake="yes" TS_OPT_fdisk_bsd_fake="no" TS_OPT_testdir_[testscript_]known_fail="<yes|no>" Similar usage like TS_OPT_*_fake above. "known_fail" means that the given test will run but (negative) results will be ignored. The build log and test diffs will still remind you about the issue. TS_OPT_testdir_[testscript_]verbose="<yes|no>" Set verbosity for certain tests. Similar usage like TS_OPT_*_fake above. TS_OPT_testdir_[testscript_]memcheck="<yes|no>" Run certain tests with valgrind. Similar usage like TS_OPT_*_fake above. External services ----------------- Travis CI - automatically executed for all github commits. URL: https://travis-ci.org/karelzak/util-linux/ See .travis.yml for more details. We require "sudo" to install additional stuff and to run the tests with UID=0, it means that tests are executed on travis "legacy infrastructure". Drone.io - automatically executed for all github commits. URL: https://drone.io/github.com/karelzak/util-linux The drone.io does not use any in-tree config file (like travis-ci), the currently used configuration (maintained by Drone.io web UI): MAKE_CHECK="root" MAKE_CHECK_OPTS="--skip-loopdevs --exclude=mount/move" source ./.travis-functions.sh travis_install_script || exit travis_before_script || exit ret=0 travis_script || ret=$? travis_after_script exit $ret yes, it shares the setup functions with travis-ci.