summaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/functionalities/command_source
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-12-18 20:12:36 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-12-18 20:12:36 +0000
commitef5d0b5e97ec8e6fa395d377b09aa7755e345b4f (patch)
tree27916256fdeeb57d10d2f3d6948be5d71a703215 /packages/Python/lldbsuite/test/functionalities/command_source
parent76e0736e7fcfeb179779e49c05604464b1ccd704 (diff)
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/functionalities/command_source')
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_source/.lldb3
-rw-r--r--packages/Python/lldbsuite/test/functionalities/command_source/commands.txt2
2 files changed, 4 insertions, 1 deletions
diff --git a/packages/Python/lldbsuite/test/functionalities/command_source/.lldb b/packages/Python/lldbsuite/test/functionalities/command_source/.lldb
index c544523832e7..ecbdcff44626 100644
--- a/packages/Python/lldbsuite/test/functionalities/command_source/.lldb
+++ b/packages/Python/lldbsuite/test/functionalities/command_source/.lldb
@@ -1 +1,2 @@
-script import my
+# one more level of indirection to stress the command interpreter reentrancy
+command source commands.txt
diff --git a/packages/Python/lldbsuite/test/functionalities/command_source/commands.txt b/packages/Python/lldbsuite/test/functionalities/command_source/commands.txt
new file mode 100644
index 000000000000..8e4de66d4690
--- /dev/null
+++ b/packages/Python/lldbsuite/test/functionalities/command_source/commands.txt
@@ -0,0 +1,2 @@
+script import my
+p 1 + 1