Skip to content

Commit 3c76636

Browse files
committed
add tests for f2fs
Signed-off-by: Tomasz Duda <[email protected]>
1 parent acb9743 commit 3c76636

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: fs/fs_test.go

+2
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,7 @@ func TestProcessMounts(t *testing.T) {
570570
{Root: "/", Mountpoint: "/g", Source: "127.0.0.1:/nfs", FSType: "nfs4", Major: 253, Minor: 6},
571571
{Root: "/", Mountpoint: "/test1", Source: "tmpfs", FSType: "tmpfs", Major: 253, Minor: 4},
572572
{Root: "/", Mountpoint: "/test2", Source: "tmpfs", FSType: "tmpfs", Major: 253, Minor: 4},
573+
{Root: "/", Mountpoint: "/h", Source: "/dev/sdh", FSType: "f2fs", Major: 253, Minor: 7},
573574
},
574575
expected: map[string]partition{
575576
"/dev/sda": {fsType: "ext3", mountpoint: "/a", major: 253, minor: 0},
@@ -581,6 +582,7 @@ func TestProcessMounts(t *testing.T) {
581582
"127.0.0.1:/nfs": {fsType: "nfs4", mountpoint: "/g", major: 253, minor: 6},
582583
"/test1": {fsType: "tmpfs", mountpoint: "/test1", major: 253, minor: 4},
583584
"/test2": {fsType: "tmpfs", mountpoint: "/test2", major: 253, minor: 4},
585+
"/dev/sdh": {fsType: "f2fs", mountpoint: "/h", major: 253, minor: 7},
584586
},
585587
},
586588
}

0 commit comments

Comments
 (0)