Also verified the values of global variables.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@107525 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/global_variables/TestGlobalVariables.py b/test/global_variables/TestGlobalVariables.py
index 16596ae..44da9df 100644
--- a/test/global_variables/TestGlobalVariables.py
+++ b/test/global_variables/TestGlobalVariables.py
@@ -61,9 +61,13 @@
         # Check that GLOBAL scopes are indicated for the variables.
         self.ci.HandleCommand("variable list -s -a", res);
         self.assertTrue(res.Succeeded())
-        self.assertTrue(res.GetOutput().find('GLOBAL: g_file_static_cstr') and
-                        res.GetOutput().find('GLOBAL: g_file_global_int') and
-                        res.GetOutput().find('GLOBAL: g_file_global_cstr'))
+        output = res.GetOutput()
+        self.assertTrue(output.find('GLOBAL: g_file_static_cstr') and
+                        output.find('g_file_static_cstr') and
+                        output.find('GLOBAL: g_file_global_int') and
+                        output.find('(int) 42') and
+                        output.find('GLOBAL: g_file_global_cstr') and
+                        output.find('g_file_global_cstr'))
 
         self.ci.HandleCommand("continue", res)
         self.assertTrue(res.Succeeded())