Skip to contentSkip to conversation

testcases: unify naming for syscall tests ending in digits

RFC Jinseok Kim 2 participants 2 messages Apr 30 – May 4

lore
Share & tools
lore
#0 lore raw

Hi All,

I noticed both styles are used for tests of syscalls ending in digits:

For example:
dup2/dup201.c
dup3/dup3_01.c

Would it be better to unify them as dup2_01.c / dup3_01.c for consistency?

Thanks.

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
#1 lore raw

Hi!

Quoted 7 lines

I noticed both styles are used for tests of syscalls ending in digits:

For example:
dup2/dup201.c
dup3/dup3_01.c

Would it be better to unify them as dup2_01.c / dup3_01.c for consistency?

It makes sense to unify, I'm not sure if it should be dup201.c and dup301.c or dup2_01.c and dup3_02.c.

If we want to keep the naming consistent with the rest of LTP we should probably go for dup201.c and dup301.c but it's a bit less readable than the underscore variant.

Does anyone else has an opinion here?

Signature · 5 lines
Cyril Hrubis
[email protected]

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