libcryfs/test/fuse/fsync/testutils/FuseFsyncTest.h
2015-02-17 00:48:49 +01:00

19 lines
423 B
C++

#pragma once
#ifndef TEST_FSPP_FUSE_FSYNC_TESTUTILS_FUSEFSYNCTEST_H_
#define TEST_FSPP_FUSE_FSYNC_TESTUTILS_FUSEFSYNCTEST_H_
#include "../../../testutils/FuseTest.h"
class FuseFsyncTest: public FuseTest {
public:
const char *FILENAME = "/myfile";
void FsyncFile(const char *filename);
int FsyncFileReturnError(const char *filename);
private:
int OpenFile(const TempTestFS *fs, const char *filename);
};
#endif