Work on CI integration.

This commit is contained in:
Steffen Schuemann 2019-04-19 14:16:46 +02:00
parent 8b222fc06f
commit 9085725056

View File

@ -1246,7 +1246,7 @@ TEST_CASE("30.10.15.3 copy", "[filesystem][operations][fs.op.copy]")
CHECK(fs::exists("dir4/file2"));
CHECK(fs::exists("dir4/dir2/file3"));
}
{
if(is_symlink_creation_supported()) {
TemporaryDirectory t(TempOpt::change_path);
std::error_code ec;
fs::create_directory("dir1");
@ -1427,7 +1427,7 @@ TEST_CASE("30.10.15.7 create_directory", "[filesystem][operations][fs.op.create_
TEST_CASE("30.10.15.8 create_directory_symlink", "[filesystem][operations][fs.op.create_directory_symlink]")
{
REQUIRE(is_symlink_creation_supported());
if(is_symlink_creation_supported()) {
TemporaryDirectory t;
fs::create_directory(t.path() / "dir1");
generateFile(t.path() / "dir1/test1");
@ -1442,6 +1442,7 @@ TEST_CASE("30.10.15.8 create_directory_symlink", "[filesystem][operations][fs.op
CHECK_NOTHROW(fs::create_directory_symlink(t.path() / "dir1", t.path() / "dir2/dirSym", ec));
CHECK(ec);
}
}
TEST_CASE("30.10.15.9 create_hard_link", "[filesystem][operations][fs.op.create_hard_link]")
{
@ -1462,7 +1463,7 @@ TEST_CASE("30.10.15.9 create_hard_link", "[filesystem][operations][fs.op.create_
TEST_CASE("30.10.15.10 create_symlink", "[filesystem][operations][fs.op.create_symlink]")
{
REQUIRE(is_symlink_creation_supported());
if(is_symlink_creation_supported()) {
TemporaryDirectory t;
fs::create_directory(t.path() / "dir1");
generateFile(t.path() / "dir1/test1");
@ -1477,6 +1478,7 @@ TEST_CASE("30.10.15.10 create_symlink", "[filesystem][operations][fs.op.create_s
CHECK_NOTHROW(fs::create_symlink(t.path() / "dir1", t.path() / "dir2/fileSym", ec));
CHECK(ec);
}
}
TEST_CASE("30.10.15.11 current_path", "[filesystem][operations][fs.op.current_path]")
{