MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3-linux / stat

Class stat

src/tests/unit/configfileparser.cpp:267–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265 testfile->Save("/tmp/empty-unit-test-file.json");
266
267 struct stat fs;
268 ASSERT_EQ(stat("/tmp/empty-unit-test-file.json", &fs), 0)
269 << "Empty configuration file created";
270 ASSERT_EQ(fs.st_size, 0)

Callers 1

TEST_FFunction · 0.70

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.56