diff options
author | Johnny Chen <johnny.chen@apple.com> | 2010-12-14 17:48:26 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2010-12-14 17:48:26 +0000 |
commit | 6b4896fddb04d34b0a890bc161fec613f40a7dfc (patch) | |
tree | cdb3c870a14217831e1f38a5367e754f3ff5a882 | |
parent | e7ee72087ec5150a6159e7801a9e1479414cfdd2 (diff) | |
download | bcm5719-llvm-6b4896fddb04d34b0a890bc161fec613f40a7dfc.tar.gz bcm5719-llvm-6b4896fddb04d34b0a890bc161fec613f40a7dfc.zip |
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.
llvm-svn: 121775
-rw-r--r-- | lldb/test/expression_command/persistent_variables/TestPersistentVariables.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py b/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py index b1ff042f2d2..47d1631d7c2 100644 --- a/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py +++ b/lldb/test/expression_command/persistent_variables/TestPersistentVariables.py @@ -34,8 +34,12 @@ class PersistentVariablesTestCase(TestBase): # (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__': |