tests: add line(1) check

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
tests: add dmesg(1) check

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
dmesg: add boundary check to facility & level array usage

The dmesg should not crash while --decode'ing message facilities and
levels to readable string even if the values are out of bounds.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
tests: add setsid(1) check

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
tests: add setarch(8) check

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
tests: add fallocate(1) check

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
docs: mkswap.8: recommend fallocate(1)

There is no reason why fallocate(1) should not be preferred instead of
'dd if=/dev/zero of=swapfile' with it's cumbersome size spec.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
tests: add isosize(1) check

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>