Modify the command passed to command interpreter from 'expr' (which is an alias of 'expression')
to 'expression' to avoid cases where 'expr' has been unaliased.
llvm-svn: 116780
diff --git a/lldb/test/persistent_variables/TestPersistentVariables.py b/lldb/test/persistent_variables/TestPersistentVariables.py
index 1724b47..62fcae6 100644
--- a/lldb/test/persistent_variables/TestPersistentVariables.py
+++ b/lldb/test/persistent_variables/TestPersistentVariables.py
@@ -21,19 +21,19 @@
self.runCmd("run", RUN_SUCCEEDED)
- self.expect("expr int $i = 5; $i + 1",
+ self.expect("expression int $i = 5; $i + 1",
startstr = "(int) $0 = 6")
# (int) $0 = 6
- self.expect("expr $i + 3",
+ self.expect("expression $i + 3",
startstr = "(int) $1 = 8")
# (int) $1 = 8
- self.expect("expr $1 + $0",
+ self.expect("expression $1 + $0",
startstr = "(int) $2 = 14")
# (int) $2 = 14
- self.expect("expr $2",
+ self.expect("expression $2",
startstr = "(int) $3 = 14")
# (int) $3 = 14