Index: src/client/linux/handler/exception_handler_unittest.cc |
diff --git a/src/client/linux/handler/exception_handler_unittest.cc b/src/client/linux/handler/exception_handler_unittest.cc |
index 439b3c38367fb30a47b8bde44cc34a66291be075..4eb7b73c74fcf9d522a9c76fe03bafdcc4954e88 100644 |
--- a/src/client/linux/handler/exception_handler_unittest.cc |
+++ b/src/client/linux/handler/exception_handler_unittest.cc |
@@ -45,7 +45,6 @@ |
#include "client/linux/handler/exception_handler.h" |
#include "client/linux/minidump_writer/minidump_writer.h" |
#include "common/linux/eintr_wrapper.h" |
-#include "common/linux/file_id.h" |
#include "common/linux/ignore_ret.h" |
#include "common/linux/linux_libc_support.h" |
#include "common/tests/auto_tempdir.h" |
@@ -817,19 +816,7 @@ TEST(ExceptionHandlerTest, ModuleInfo) { |
0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, |
0x88, 0x99, 0xAA, 0xBB, 0xCC, 0xDD, 0xEE, 0xFF |
}; |
- char module_identifier_buffer[kGUIDStringSize]; |
- FileID::ConvertIdentifierToString(kModuleGUID, |
- module_identifier_buffer, |
- sizeof(module_identifier_buffer)); |
- string module_identifier(module_identifier_buffer); |
- // Strip out dashes |
- size_t pos; |
- while ((pos = module_identifier.find('-')) != string::npos) { |
- module_identifier.erase(pos, 1); |
- } |
- // And append a zero, because module IDs include an "age" field |
- // which is always zero on Linux. |
- module_identifier += "0"; |
+ const string module_identifier = "33221100554477668899AABBCCDDEEFF0"; |
// Get some memory. |
char* memory = |