From 161b1e5f69a9bf2b1ec7480ea439405c3597976c 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