Whamcloud - gitweb
LU-13628 tests: replace btime with crtime for statx test 80/38880/5
authorQian Yingjin <qian@ddn.com>
Tue, 9 Jun 2020 15:00:07 +0000 (23:00 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 19 Jun 2020 16:50:14 +0000 (16:50 +0000)
commit350cd07b27f94e02203274913d89b659bda06f86
tree813573e796da44494afbfc3e7ac51c26f80355af
parent3b613a442b8698596096b23ce82e157c158a5874
LU-13628 tests: replace btime with crtime for statx test

Tests sanityn/106a failed due to wrongly using 'btime' to filter
the debugfs output for file creation time, which should be
'crtime'.

This patch also replaces '-c %q' with '-c %p' in sanityn/106c to
get the statx 'stx_attributes_mask': Mask to show what's supported
in 'stx_attributes'.

Test-Parameters: trivial clientdistro=el8
Test-Parameters: trivial clientdistro=ubuntu1804
Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: Ia8273e02d4ebe7f1e9e5d6973e691c82e0524fb2
Reviewed-on: https://review.whamcloud.com/38880
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
lustre/tests/sanityn.sh
lustre/tests/statx.c