aboutsummaryrefslogtreecommitdiff
path: root/testcases/kernel/syscalls/statx/statx06.c
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2024-04-02 20:24:18 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-04-02 20:24:18 +0000
commitcdb9cd95d819b7d394f63db8dd87804de5aa3e69 (patch)
tree21df5650189a18b6e92f11a618bac3deb1adf361 /testcases/kernel/syscalls/statx/statx06.c
parent26a125c969109073ae74a948b3d8e4035cda4f7c (diff)
parent74f79dc224f4a1e79829ddfa11fa9439bf561423 (diff)
downloadltp-cdb9cd95d819b7d394f63db8dd87804de5aa3e69.tar.gz
Merge changes from topic "ltp-20230929-android14-tests" into android14-tests-devandroid14-tests-dev
* changes: cgroup: Fix scanning V1 mount options cgroup: Handle trailing new line in cgroup.controllers compare_ltp_projects.py: Fix test sorting, adjust printing madvise11: Allow test to skip if MADV_SOFT_OFFLINE is not supported madvise11: Replace /etc/mtab with /proc/mounts syscalls/process_madvise01: fix smaps scan and min_swap_avail tst_clocks.c: Fix stack smashing on 32bit tst_kvercmp: Handle larger kernel version numbers getpgid01: On Android, pgid(1) is 0 instead of 1 pipe07: refactor exp_num_pipes pipe07: close /proc/self/fd after counting fds config.h: Compile with linux/ioprio.h to fix ioprio_set03 sched.h: Don't exclude clone_args_minimal when HAVE_STRUCT_CLONE_ARGS is set ltp-version.h: Generate with genrule mq_notify03: disable test because don't have mqueue kvm: Disable kvm tests make_parser.py: Handle as (gnu assembler) command in makefile android_build_generator.py: Print more info when failing with compile target LTP 20230929 Merge tag '20230929'
Diffstat (limited to 'testcases/kernel/syscalls/statx/statx06.c')
-rw-r--r--testcases/kernel/syscalls/statx/statx06.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testcases/kernel/syscalls/statx/statx06.c b/testcases/kernel/syscalls/statx/statx06.c
index fa75982b0..1771dff49 100644
--- a/testcases/kernel/syscalls/statx/statx06.c
+++ b/testcases/kernel/syscalls/statx/statx06.c
@@ -111,10 +111,10 @@ static void test_statx(unsigned int test_nr)
clock_wait_tick();
SAFE_CLOCK_GETTIME(CLOCK_REALTIME, &after_time);
- TEST(statx(AT_FDCWD, TEST_FILE, 0, STATX_ALL, &buff));
+ TEST(statx(AT_FDCWD, TEST_FILE, 0, STATX_BASIC_STATS | STATX_BTIME, &buff));
if (TST_RET != 0) {
tst_brk(TFAIL | TTERRNO,
- "statx(AT_FDCWD, %s, 0, STATX_ALL, &buff)",
+ "statx(AT_FDCWD, %s, 0, STATX_BASIC_STATS | STATX_BTIME, &buff)",
TEST_FILE);
}