Skip to content

Commit

Permalink
Merge pull request #133 from duduainankai/fix-tmp-dir-in-test
Browse files Browse the repository at this point in the history
Fix same tmp dir in freezer v2 tests
  • Loading branch information
utam0k authored Jul 12, 2021
2 parents 4d86b25 + d3e2f57 commit 2a7f907
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cgroups/v2/freezer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ mod tests {

#[test]
fn test_set_freezer_state_error() {
let tmp =
create_temp_dir("test_set_freezer_state").expect("create temp directory for test");
let tmp = create_temp_dir("test_set_freezer_state_error")
.expect("create temp directory for test");
set_fixture(&tmp, CGROUP_FREEZE, "").expect("Set fixure for freezer state");
set_fixture(&tmp, CGROUP_EVENTS, "").expect("Set fixure for freezer state");

Expand Down

0 comments on commit 2a7f907

Please sign in to comment.