Add utime07 test
PATCH v3 1/1 Add utime07 test
From: Andrea Cervesato <[email protected]>
This test has been extracted from symlink01 test and it verifies that utime() is working correctly on symlink() generated files.
Signed-off-by Andrea Cervesato <[email protected]>
---
Fix make check
Add TIME_DIFF macro for utime delay value and simplified check
runtest/smoketest | 2 +- runtest/syscalls | 2 +- testcases/kernel/syscalls/utime/.gitignore | 1 + testcases/kernel/syscalls/utime/utime07.c | 97 ++++++++++++++++++++++ 4 files changed, 100 insertions(+), 2 deletions(-) create mode 100644 testcases/kernel/syscalls/utime/utime07.c
runtest/smoketest +1 -1
@@ -9,7 +9,7 @@ wait02 wait02 write01 write01 symlink01 symlink01 stat04 symlink01 -T stat04 -utime01A symlink01 -T utime01 +utime07 utime07 rename01A symlink01 -T rename01 splice02 splice02 -s 20 df01_sh df01.sh
runtest/syscalls +1 -1
@@ -1679,12 +1679,12 @@ ustat01 ustat01 ustat02 ustat02 utime01 utime01 -utime01A symlink01 -T utime01 utime02 utime02 utime03 utime03 utime04 utime04 utime05 utime05 utime06 utime06 +utime07 utime07 utimes01 utimes01
testcases/kernel/syscalls/utime/.gitignore +1 -0
@@ -4,3 +4,4 @@ /utime04 /utime05 /utime06 +/utime07
testcases/kernel/syscalls/utime/utime07.c new file +97 -0
97 lines not on this page · raw message
Signature · 5 lines
2.35.3 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi Andrea,
merged with Avinesh's RBT (you could have added it yourself, as he added it in v2 and you changed what he proposed).
Also I dared to slightly change the documentation (added errnos) and fix minor whitespace.
Thank you!
Kind regards,
Petr
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp