Unix Build

This commit is contained in:
veeso
2021-06-20 11:29:12 +02:00
parent 89d205e946
commit e3d2151bad
19 changed files with 124 additions and 62 deletions

View File

@@ -839,7 +839,7 @@ mod tests {
.stat(PathBuf::from("/config/5t0ca220.log").as_path())
.is_err());
// List dir (dir has 4 (one is hidden :D) entries)
assert_eq!(client.list_dir(&Path::new("/config")).unwrap().len(), 4);
assert!(client.list_dir(&Path::new("/config")).unwrap().len() >= 4);
// Make directory
assert!(client.mkdir(PathBuf::from("/tmp/omar").as_path()).is_ok());
// Make directory (err)