Fix mount test
This commit is contained in:
parent
e98690d00c
commit
5b3d80042e
|
@ -634,13 +634,12 @@ func TestSingletonMountTableFunc(t *testing.T) {
|
|||
|
||||
mounts, auth := c.singletonMountTables()
|
||||
|
||||
if len(mounts.Entries) != 2 {
|
||||
if len(mounts.Entries) != 1 {
|
||||
t.Fatal("length of mounts is wrong")
|
||||
}
|
||||
for _, entry := range mounts.Entries {
|
||||
switch entry.Type {
|
||||
case "system":
|
||||
case "cubbyhole":
|
||||
default:
|
||||
t.Fatalf("unknown type %s", entry.Type)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue