commit | cb7c626c99ad7afff7af54df68c9079d0f2a56db | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Thu Jul 09 23:34:52 2020 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jul 10 07:52:57 2020 -0600 |
tree | 0a58136b00a0719db3cfd948b7700e97dbc29e80 | |
parent | 20a7c0108734f01264fb4edadefe7bc96ac58855 [diff] |
test/statx: verify against statx(2) on all archs Use __NR_statx in do_statx and unconditionally use it to check the result on all architectures, not just x86_64. This relies on the fact that __NR_statx should be defined if struct statx and STATX_ALL are available as well. Don't fail the test if the statx syscall returns EOPNOTSUPP though. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Jens Axboe <axboe@kernel.dk>