docs: add note about enabled kill(1) to v2.22-ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
tests: search mount point in canonicalized form in /proc/mounts

* tests/functions.sh (ts_is_mounted): Enhance to resolve symlinks in
given mount point before grep'ing in /proc/mount.

If the test directory is on a symlink, then e.g. tests/ts/cramfs/doubles
failed because the kernel keeps the mount entry in a canonicalized form
in /proc/mounts while this function searched for it with the original
path name.

Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
tests: use ts_is_mounted in mount/regfile

If the test directory is on a symlink, then mount/regfile failed because
it did not search for the mount point in /proc/mounts canonicalized.

Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
tests: more robust symlinks usage

Reported-by: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: fix description of utmpdump configure option

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
build-sys: include tools/git-version-gen in the tarball

tools/git-version-gen is called from AC_INIT. Include it
in the tarball to make it easier to autoreconf-igure the package.

Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
util-linux: Document new FAT options

Add man-page documentation for the new 'discard' and 'nfs' options
available for vfat/msdos filesystems.

Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
tests: remove lt- prefixes

Reported-by: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: move tests to check_PROGRAMS

Thanks to Mike Frysinger.

Signed-off-by: Karel Zak <kzak@redhat.com>
tests: check for 'make check'

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: add run.sh to make check for non-root users

Signed-off-by: Karel Zak <kzak@redhat.com>
docs: update howto-tests.txt

Signed-off-by: Karel Zak <kzak@redhat.com>
tests: rename doslabel test

Signed-off-by: Karel Zak <kzak@redhat.com>
tests: add layout info to dos mode test

Signed-off-by: Karel Zak <kzak@redhat.com>
fdisk: cast before count size

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: use slash for binaries in gitignore

 .. otherwise git interprets binaries names as shell blog and apply
the pattern globally.

Signed-off-by: Karel Zak <kzak@redhat.com>
tests: add non-dos mode fdisk test
tests: make blkid/md-raid1-part more robust

* tests/expected/blkid/mk-raid1-part: Replace major and minor number
of ID_PART_ENTRY_DISK by a special string. Add ID_FS_UUID and
ID_FS_UUID_ENC again, also with a special string.
* tests/ts/blkid/md-raid1-part: Before comparing the expected output
with the actual output, replace the values of ID_PART_ENTRY_DISK,
ID_FS_UUID and ID_FS_UUID_ENC with the speacial strings mentioned above.

Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
tests: cleanup ts_is_mounted

* tests/functions.sh (ts_is_mounted): Remove check for canonicalization
failure again, because it is now done by ts_canonicalize.

Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
tests: blkid/md-raid1-part fails

[kzak@redhat.com: - I forgot to apply this part of the Bernhard's patch]

Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Karel Zak <kzak@redhat.com>