Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

extinguish
Copy link

@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
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.

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.

None yet

4 participants