summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netfs/unittests/testCore.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/netfs/unittests/testCore.cpp b/netfs/unittests/testCore.cpp
index c1afbe3..0f74925 100644
--- a/netfs/unittests/testCore.cpp
+++ b/netfs/unittests/testCore.cpp
@@ -62,9 +62,12 @@ class FuseMock : public NetFS::FuseApp {
int main(int &, char **, const struct fuse_operations * o) override
{
o->init(NULL);
+ ops = *o;
return 0;
}
+ fuse_operations ops;
+
protected:
virtual NetFS::Client::ConfigurationPtr ReadConfiguration(const std::string &) const override
{