summaryrefslogtreecommitdiffstats
path: root/test/Debugger
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-12-04 23:44:42 +0000
committerChris Lattner <sabre@nondot.org>2004-12-04 23:44:42 +0000
commit9214a4787b5f070b853fb9ef2cec64680bfd1a79 (patch)
treea1c94e0caadcb94fa827ea9cf0a1343766b0151a /test/Debugger
parentbf16b8c2dc7b4ee511ebb6539e78691c52ba4f37 (diff)
downloadexternal_llvm-9214a4787b5f070b853fb9ef2cec64680bfd1a79.zip
external_llvm-9214a4787b5f070b853fb9ef2cec64680bfd1a79.tar.gz
external_llvm-9214a4787b5f070b853fb9ef2cec64680bfd1a79.tar.bz2
Darwin and solaris don't support echo -e. This should get the test passing
for them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18511 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Debugger')
-rw-r--r--test/Debugger/funccall.ll9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/Debugger/funccall.ll b/test/Debugger/funccall.ll
index 4ef450f..846250b 100644
--- a/test/Debugger/funccall.ll
+++ b/test/Debugger/funccall.ll
@@ -1,5 +1,12 @@
+;; RUN: echo create > %t.commands
+;; RUN: echo s >> %t.commands
+;; RUN: echo s >> %t.commands
+;; RUN: echo finish >> %t.commands
+;; RUN: echo bt >> %t.commands
+;; RUN: echo q >> %t.commands
+;; RUN: echo y >> %t.commands
;; RUN: llvm-as -f %s -o %t.bc
-;; RUN: echo -e "create\ns\ns\nfinish\nbt\nq\ny" | llvm-db %t.bc | grep 'in main at funccall.c:11:2'
+;; RUN: llvm-db %t.bc < %t.commands | grep 'in main at funccall.c:11:2'
;; Debugger type declarations