Fix Windows counter types
This commit is contained in:
parent
2d757b028d
commit
f5040d2d5a
@ -3,9 +3,9 @@
|
||||
using ::testing::WithParamInterface;
|
||||
using ::testing::Values;
|
||||
|
||||
class FuseStatfsReturnBavailTest: public FuseStatfsReturnTest<fsblkcnt_t>, public WithParamInterface<fsblkcnt_t> {
|
||||
class FuseStatfsReturnBavailTest: public FuseStatfsReturnTest<fsblkcnt64_t>, public WithParamInterface<fsblkcnt64_t> {
|
||||
private:
|
||||
void set(struct ::statvfs *stat, fsblkcnt_t value) override {
|
||||
void set(struct ::statvfs *stat, fsblkcnt64_t value) override {
|
||||
stat->f_bavail = value;
|
||||
}
|
||||
};
|
||||
|
@ -3,9 +3,9 @@
|
||||
using ::testing::WithParamInterface;
|
||||
using ::testing::Values;
|
||||
|
||||
class FuseStatfsReturnBfreeTest: public FuseStatfsReturnTest<fsblkcnt_t>, public WithParamInterface<fsblkcnt_t> {
|
||||
class FuseStatfsReturnBfreeTest: public FuseStatfsReturnTest<fsblkcnt64_t>, public WithParamInterface<fsblkcnt64_t> {
|
||||
private:
|
||||
void set(struct ::statvfs *stat, fsblkcnt_t value) override {
|
||||
void set(struct ::statvfs *stat, fsblkcnt64_t value) override {
|
||||
stat->f_bfree = value;
|
||||
}
|
||||
};
|
||||
|
@ -3,9 +3,9 @@
|
||||
using ::testing::WithParamInterface;
|
||||
using ::testing::Values;
|
||||
|
||||
class FuseStatfsReturnBlocksTest: public FuseStatfsReturnTest<fsblkcnt_t>, public WithParamInterface<fsblkcnt_t> {
|
||||
class FuseStatfsReturnBlocksTest: public FuseStatfsReturnTest<fsblkcnt64_t>, public WithParamInterface<fsblkcnt64_t> {
|
||||
private:
|
||||
void set(struct ::statvfs *stat, fsblkcnt_t value) override {
|
||||
void set(struct ::statvfs *stat, fsblkcnt64_t value) override {
|
||||
stat->f_blocks = value;
|
||||
}
|
||||
};
|
||||
|
@ -3,9 +3,9 @@
|
||||
using ::testing::WithParamInterface;
|
||||
using ::testing::Values;
|
||||
|
||||
class FuseStatfsReturnFfreeTest: public FuseStatfsReturnTest<fsfilcnt_t>, public WithParamInterface<fsfilcnt_t> {
|
||||
class FuseStatfsReturnFfreeTest: public FuseStatfsReturnTest<fsfilcnt64_t>, public WithParamInterface<fsfilcnt64_t> {
|
||||
private:
|
||||
void set(struct ::statvfs *stat, fsfilcnt_t value) override {
|
||||
void set(struct ::statvfs *stat, fsfilcnt64_t value) override {
|
||||
stat->f_ffree = value;
|
||||
}
|
||||
};
|
||||
|
@ -3,9 +3,9 @@
|
||||
using ::testing::WithParamInterface;
|
||||
using ::testing::Values;
|
||||
|
||||
class FuseStatfsReturnFilesTest: public FuseStatfsReturnTest<fsfilcnt_t>, public WithParamInterface<fsfilcnt_t> {
|
||||
class FuseStatfsReturnFilesTest: public FuseStatfsReturnTest<fsfilcnt64_t>, public WithParamInterface<fsfilcnt64_t> {
|
||||
private:
|
||||
void set(struct ::statvfs *stat, fsfilcnt_t value) override {
|
||||
void set(struct ::statvfs *stat, fsfilcnt64_t value) override {
|
||||
stat->f_files = value;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user