Skip to content

open_posix: Re-init static variable to avoid errors during multiple runs#1069

Closed
extinguish wants to merge 1 commit intolinux-test-project:masterfrom
extinguish:0003_fix
Closed

open_posix: Re-init static variable to avoid errors during multiple runs#1069
extinguish wants to merge 1 commit intolinux-test-project:masterfrom
extinguish:0003_fix

Conversation

@extinguish
Copy link
Copy Markdown

@extinguish extinguish commented Aug 31, 2023

open_posix: the static variables need to re-init before running again, thus to aovid report error with running multiple times

Signed-off-by: Huang Qi huangqi3@xiaomi.com

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
@extinguish extinguish changed the title LTP: Re-init static variable to avoid errors during multiple runs open_posix: Re-init static variable to avoid errors during multiple runs Sep 1, 2023
@richiejp richiejp added the posix POSIX conformance test suite label Nov 24, 2023
@metan-ucw
Copy link
Copy Markdown
Member

So this is same as #1067 and you are doing something very strange that static variables needs to be reinitialized this way. I do not understand why this is needed at all.

@pevik pevik force-pushed the master branch 6 times, most recently from acb468e to dc9ba89 Compare February 7, 2025 09:16
@metan-ucw
Copy link
Copy Markdown
Member

Feel free to reopen with answer to my question.

@metan-ucw metan-ucw closed this May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

posix POSIX conformance test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants