From 32cd5e21b8380a443d0fa71d0644c9643728f598 Mon Sep 17 00:00:00 2001
From: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
Date: Tue, 17 Oct 2017 07:49:35 +0200
Subject: [PATCH] systemd: reference the dummy squahsfuse module from tests
This makes the module not-unused and govendor is now happy.
Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
---
systemd/systemd_test.go | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/systemd/systemd_test.go b/systemd/systemd_test.go
index 34ce42702..be99153cb 100644
--- a/systemd/systemd_test.go
+++ b/systemd/systemd_test.go
@@ -29,6 +29,7 @@ import (
"testing"
"time"
+ squashfuse "github.com/snapcore/squashfuse/dummy"
. "gopkg.in/check.v1"
"github.com/snapcore/snapd/dirs"
@@ -584,3 +585,7 @@ func (s *SystemdTestSuite) TestJctl(c *C) {
c.Assert(err, IsNil)
c.Check(args, DeepEquals, []string{"-o", "json", "-n", "99", "--no-pager", "-f", "-u", "foo", "-u", "bar", "-u", "baz"})
}
+
+func (s *SystemdTestSuite) TestInternalSquashFuse(c *C) {
+ c.Assert(squashfuse.InternalSquashFusePresent(), Equals, true)
+}
--
2.14.1