[PATCH] tests: use openat and fstat instead of open and stat syscalls in tests 04...
authorAndreas Schwab <schwab@suse.de>
Tue, 18 Aug 2020 13:59:54 +0000 (15:59 +0200)
committerFelix Geyer <fgeyer@debian.org>
Sun, 8 Nov 2020 18:59:21 +0000 (18:59 +0000)
commitd8fdbc843a8f8538b457221ee5bb6d42cc9cc6c6
treeb0eb138d2cd1a8cd71fc6735029174bfc2d94b7a
parent79b66bf6c67f82fd12c893c4c146473821db2f93
[PATCH] tests: use openat and fstat instead of open and stat syscalls in tests 04 and 06

Architectures like aarch64 and riscv64, and all future architectures that
use the generic syscall table, do not support the open and stat syscalls.
Use the openat and fstat syscalls instead.

Signed-off-by: Andreas Schwab <schwab@suse.de>
Acked-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
(imported from commit a317fabc1fd915f19f7e7326bf7dcb77493f1210)

Gbp-Pq: Name tests_use_openat_and_fstat_instead_of_open_and_stat_syscalls.patch
tests/04-sim-multilevel_chains.c
tests/04-sim-multilevel_chains.py
tests/04-sim-multilevel_chains.tests
tests/06-sim-actions.c
tests/06-sim-actions.py
tests/06-sim-actions.tests