Index: test/cctest/test-platform-nullos.cc |
diff --git a/test/cctest/test-platform-nullos.cc b/test/cctest/test-platform-nullos.cc |
index 3afbd90aeca85ed8646100b29b4d7c60fb4e51de..0ad67be3f90827511995afa506bb10d23e3469df 100644 |
--- a/test/cctest/test-platform-nullos.cc |
+++ b/test/cctest/test-platform-nullos.cc |
@@ -52,18 +52,18 @@ static void LoopIncrement(Mutex* mutex, int rem) { |
int count = 0; |
int last_count = -1; |
do { |
- CHECK_EQ(0, mutex->Lock()); |
+ mutex->Lock(); |
count = busy_lock_counter; |
- CHECK_EQ(0, mutex->Unlock()); |
+ mutex->Unlock(); |
yield(); |
} while (count % 2 == rem && count < kLockCounterLimit); |
if (count >= kLockCounterLimit) break; |
- CHECK_EQ(0, mutex->Lock()); |
+ mutex->Lock(); |
CHECK_EQ(count, busy_lock_counter); |
CHECK(last_count == -1 || count == last_count + 1); |
busy_lock_counter++; |
last_count = count; |
- CHECK_EQ(0, mutex->Unlock()); |
+ mutex->Unlock(); |
yield(); |
} |
} |