selftests: openat2: add RESOLVE_ conflict test
authorAleksa Sarai <cyphar@cyphar.com>
Tue, 27 Oct 2020 23:50:44 +0000 (10:50 +1100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 3 Dec 2020 09:16:28 +0000 (10:16 +0100)
commit4e62d55d77bbdb33d821f5e16306caab38d42267
tree63bec131800ae0d0af7149ef1451b3225157bce0
parent398840f8bb935d33c64df4ec4fed77a7d24c267d
selftests: openat2: add RESOLVE_ conflict test

Now that we reject conflicting RESOLVE_ flags, add a selftest to avoid
regressions.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Link: https://lore.kernel.org/r/20201027235044.5240-3-cyphar@cyphar.com
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
tools/testing/selftests/openat2/openat2_test.c