Skip to contentSkip to conversation

Add chmod08 test

PATCH Superseded Andrea Cervesato 1 participant 1 message Jan 19, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add chmod08 test

From: Andrea Cervesato <[email protected]>

This test has been extracted from symlink01 and it verifies that chmod() is working correctly on symlink() generated files.

---
 runtest/syscalls                           |  2 +-
 testcases/kernel/syscalls/chmod/.gitignore |  1 +
 testcases/kernel/syscalls/chmod/chmod08.c  | 88 ++++++++++++++++++++++
 3 files changed, 90 insertions(+), 1 deletion(-)
 create mode 100644 testcases/kernel/syscalls/chmod/chmod08.c
runtest/syscalls +1 -1
index 00a0dd87e..cd2dbf3c1 100644
@@ -65,11 +65,11 @@ chdir04 chdir04
 chdir05 chdir05
 
 chmod01 chmod01
-chmod01A symlink01 -T chmod01
 chmod03 chmod03
 chmod05 chmod05
 chmod06 chmod06
 chmod07 chmod07
+chmod08 chmod08
 
 chown01 chown01
 chown01_16 chown01_16
testcases/kernel/syscalls/chmod/.gitignore +1 -0
index 27ddfce16..f295f4dcb 100644
@@ -3,3 +3,4 @@
 /chmod05
 /chmod06
 /chmod07
+/chmod08
testcases/kernel/syscalls/chmod/chmod08.c new file +88 -0

88 lines not on this page · raw message

Signature · 5 lines
2.35.3


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp