]> granicus.if.org Git - strace/commit
tests: robustify umount and umount2 tests against future kernel changes
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 16 Apr 2019 00:27:42 +0000 (00:27 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 16 Apr 2019 00:27:42 +0000 (00:27 +0000)
commit867dd7be21803a4599867e37cced135c09302597
tree345a314dda3d7ee2ab294cfbbe47bc6b10320674
parent1a130338c7d137887cd36345675bb0d2489b88a9
tests: robustify umount and umount2 tests against future kernel changes

Prepare for the rename of umount syscall to umount2 introduced by linux
kernel commits v5.1-rc1~160^2~3^2~12 and v5.1-rc1~160^2~3^2~16 on alpha
and ia64 architectures, respectively.

* tests/umount.c: Check for __NR_umount == __NR_umount2.
* tests/umount2.c: Likewise.
tests/umount.c
tests/umount2.c