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

cpuset_memory_spread_test:Modify the creation of fifo files #1212

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

Conversation

lv0325-dz
Copy link

@lv0325-dz lv0325-dz commented Dec 23, 2024

When the cgroup file system cannot be mounted,
the test will be skipped directly in the setup() of cpuset_funcs.sh. This will cause the created myfifo file to not be deleted. When the case is run again,
an error will be reported that myfifo already exists.

Therefore, myfifo can be created in setup() of cpuset_funcs.sh, so that it can be naturally created in setup() and deleted in cleanup().

Signed-off-by: lv0325-dz [email protected]

When the cgroup file system cannot be mounted,
the test will be skipped directly in the setup() of cpuset_funcs.sh.
This will cause the created myfifo file to not be deleted.
When the use case is run again,
an error will be reported that myfifo already exists.

Therefore, myfifo can be created in setup() of cpuset_funcs.sh,
so that it can be naturally created in setup() and deleted in cleanup().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant