From 3d3f44390551777ce5d97bd5a206b8365cfc99c7 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 19 Feb 2015 01:17:54 +0000 Subject: Keep a copy of fuse operations map --- netfs/unittests/testCore.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 { -- cgit v1.2.3