tests/kcmp: add more checks
authorEugene Syromyatnikov <evgsyr@gmail.com>
Sat, 16 Sep 2017 00:59:10 +0000 (02:59 +0200)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 17 Sep 2017 12:04:11 +0000 (12:04 +0000)
commit8cddc598da17250fb0230ad028274f39eb6ca306
treebf743276a661343285342831bd646720eccd3743
parent9acc2417753227c6d4dddb8a28a89124a5569a14
tests/kcmp: add more checks

Let's check all kcmp commands that they indeed do not print idx1/idx2.
Also, check that upper bits of pid arguments are ignored.

* tests/gen_tests.in (kcmp): Decrease -a argument's value from 27 to 22.
* tests/kcmp.c: Add checks for upper bits of pid1/pid2 and for all
kcmp types not tested before.
tests/gen_tests.in
tests/kcmp.c