Skip to content

Commit

Permalink
bigger output file size and make 3 gig files
Browse files Browse the repository at this point in the history
  • Loading branch information
Logan Blyth committed Sep 19, 2024
1 parent ff40f41 commit 22b6e86
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion filesystem/fat32/testdata/fat32.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ func main() {
mkRandFile(fs, "/b/sub"+inc+"/blob/randFileSize", r.Intn(73))
mkSmallFile(fs, "/b/sub"+inc+"/blob/testfile3")
}
mkGigFile(fs, "/b/sub49/blob/testfile4")
mkGigFile(fs, "/b/sub50/blob/testfile4")
mkSmallFile(fs, "/b/sub55/blob/testfile4")
mkGigFile(fs, "/b/sub55/blob/testfile5")
entries, err := fs.ReadDir("/b/sub50/blob")
Expand All @@ -41,7 +43,7 @@ func main() {
fmt.Println("/b/sub55/blob/:\n\n", entries)
}
func mkfs(name string) filesystem.FileSystem {
size := int64(5 * 1024 * 1024 * 1024)
size := int64(6 * 1024 * 1024 * 1024)
d, err := diskfs.Create(name, size, diskfs.Raw, diskfs.SectorSizeDefault)
if err != nil {
fmt.Printf("error creating disk: %v", err)
Expand Down

0 comments on commit 22b6e86

Please sign in to comment.