aboutsummaryrefslogtreecommitdiffstats
path: root/unittest/test_lockfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unittest/test_lockfile.cpp')
-rw-r--r--unittest/test_lockfile.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/unittest/test_lockfile.cpp b/unittest/test_lockfile.cpp
index 7ad4a2b7..e66ab5aa 100644
--- a/unittest/test_lockfile.cpp
+++ b/unittest/test_lockfile.cpp
@@ -52,10 +52,8 @@ TEST(lock_breaking)
#if defined(_WIN32) || defined(__CYGWIN__)
create_file("test.lock", "foo");
- create_file("test.lock.lock", "foo");
#else
CHECK_INT_EQ(0, symlink("foo", "test.lock"));
- CHECK_INT_EQ(0, symlink("foo", "test.lock.lock"));
#endif
CHECK(lockfile_acquire("test", 1000));
@@ -66,7 +64,6 @@ TEST(lock_breaking)
#endif
CHECK(p);
CHECK(!str_eq(p, "foo"));
- CHECK(!path_exists("test.lock.lock"));
free(p);
}