[Lldb-commits] [lldb] r121775 - /lldb/trunk/test/expression_command/persistent_variables/TestPersistentVariables.py

Johnny Chen johnny.chen at apple.com
Tue Dec 14 09:48:26 PST 2010


Author: johnny
Date: Tue Dec 14 11:48:26 2010
New Revision: 121775

URL: http://llvm.org/viewvc/llvm-project?rev=121775&view=rev
Log:
Change the golden output so that merely evaluating an existing persistent variable
does not result in a newly created persistent variable.  The old one is returned,
instead.

Modified:
    lldb/trunk/test/expression_command/persistent_variables/TestPersistentVariables.py

Modified: lldb/trunk/test/expression_command/persistent_variables/TestPersistentVariables.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/expression_command/persistent_variables/TestPersistentVariables.py?rev=121775&r1=121774&r2=121775&view=diff
==============================================================================
--- lldb/trunk/test/expression_command/persistent_variables/TestPersistentVariables.py (original)
+++ lldb/trunk/test/expression_command/persistent_variables/TestPersistentVariables.py Tue Dec 14 11:48:26 2010
@@ -34,8 +34,12 @@
         # (int) $2 = 14
 
         self.expect("expression $2",
-            startstr = "(int) $3 = 14")
-        # (int) $3 =  14
+            startstr = "(int) $2 = 14")
+        # (int) $2 =  14
+
+        self.expect("expression $1",
+            startstr = "(int) $1 = 8")
+        # (int) $1 = 8
 
 
 if __name__ == '__main__':





More information about the lldb-commits mailing list