summaryrefslogtreecommitdiff
path: root/cpp/test/IceUtil/thread/MutexTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceUtil/thread/MutexTest.cpp')
-rw-r--r--cpp/test/IceUtil/thread/MutexTest.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/test/IceUtil/thread/MutexTest.cpp b/cpp/test/IceUtil/thread/MutexTest.cpp
index 3318ce96a11..ebe1afde665 100644
--- a/cpp/test/IceUtil/thread/MutexTest.cpp
+++ b/cpp/test/IceUtil/thread/MutexTest.cpp
@@ -139,10 +139,9 @@ MutexTest::run()
Mutex::Lock lock3(mutex);
test(false);
}
- catch(const ThreadSyscallException& e)
+ catch(const ThreadLockedException&)
{
// Expected
- test(e.error() == EDEADLK);
}
#endif