mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-28 12:31:04 +00:00
safe-path: Do cargo check and reduce warnings
Signed-off-by: alex.lyn <alex.lyn@antgroup.com>
This commit is contained in:
parent
b99196818f
commit
cfa89e143d
@ -355,6 +355,7 @@ mod tests {
|
|||||||
.read(false)
|
.read(false)
|
||||||
.write(true)
|
.write(true)
|
||||||
.create(true)
|
.create(true)
|
||||||
|
.truncate(true)
|
||||||
.mode(0o200)
|
.mode(0o200)
|
||||||
.open(&path)
|
.open(&path)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
@ -376,6 +377,7 @@ mod tests {
|
|||||||
.read(false)
|
.read(false)
|
||||||
.write(true)
|
.write(true)
|
||||||
.create(true)
|
.create(true)
|
||||||
|
.truncate(true)
|
||||||
.mode(0o200)
|
.mode(0o200)
|
||||||
.open(&path)
|
.open(&path)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
Loading…
Reference in New Issue
Block a user