Fix mount test

This commit is contained in:
Jeff Mitchell 2017-05-09 09:49:45 -04:00
parent e98690d00c
commit 5b3d80042e

View file

@ -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)
}