Remove printlns
This commit is contained in:
parent
82b96cbb88
commit
29a51767c8
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -31,7 +31,7 @@ checksum = "a5f43f184355eefb8d17fc948dbecf6c13be3c141f20d834ae842193a448c72a"
|
||||
|
||||
[[package]]
|
||||
name = "posix-acl"
|
||||
version = "0.1.4"
|
||||
version = "0.1.5"
|
||||
dependencies = [
|
||||
"acl-sys",
|
||||
"anyhow",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "posix-acl"
|
||||
version = "0.1.4"
|
||||
version = "0.1.5"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
|
@ -123,8 +123,6 @@ impl PosixACL {
|
||||
return Err(anyhow!("Failed to get ACL entry"));
|
||||
}
|
||||
|
||||
println!("entry: {:?}", entry);
|
||||
|
||||
let mut tag_type: i32 = 0;
|
||||
check_return(
|
||||
unsafe { acl_get_tag_type(entry, &mut tag_type) },
|
||||
@ -167,7 +165,6 @@ impl PosixACL {
|
||||
"acl_get_permset",
|
||||
);
|
||||
|
||||
println!("permset: {:?}", permset);
|
||||
let perm = if permset.is_null() {
|
||||
0
|
||||
} else {
|
||||
@ -305,7 +302,6 @@ impl<T> Drop for AclPtr<T> {
|
||||
}
|
||||
|
||||
pub(crate) fn check_return(ret: i32, func: &str) {
|
||||
println!("ret: {} fnc: {}", ret, func);
|
||||
assert_eq!(
|
||||
ret,
|
||||
0,
|
||||
@ -340,7 +336,6 @@ mod test {
|
||||
let mut acl_r = PosixACL::new_from_file(path, false).unwrap();
|
||||
acl_r.entries.sort();
|
||||
|
||||
println!("{:?}", acl);
|
||||
assert_eq!(acl.entries.len(), acl_r.entries.len());
|
||||
let missing = acl
|
||||
.entries
|
||||
|
Loading…
Reference in New Issue
Block a user