summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-12-14 17:48:26 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-12-14 17:48:26 +0000
commit6b4896fddb04d34b0a890bc161fec613f40a7dfc (patch)
treecdb3c870a14217831e1f38a5367e754f3ff5a882
parente7ee72087ec5150a6159e7801a9e1479414cfdd2 (diff)
downloadbcm5719-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.py8
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__':
OpenPOWER on IntegriCloud