1 # UNSUPPORTED: lldb-repro
3 # RUN: rm -rf %t.stderr %t.stdout
4 # RUN: cat %s | %lldb --script-language lua 2> %t.stderr > %t.stdout
5 # RUN: cat %t.stdout | FileCheck %s --check-prefix STDOUT
6 # RUN: cat %t.stderr | FileCheck %s --check-prefix STDERR
8 file = lldb.SBFile(2, "w", false)
9 lldb.debugger:SetOutputFile(file)
10 print(95000 + 126, nil, 'a')
17 # STDOUT-NOT: table: {{0x[[:xdigit:]]+}}
18 # STDERR: table: {{0x[[:xdigit:]]+}}
20 # RUN: rm -rf %t.stderr %t.stdout
21 # RUN: %lldb --script-language lua -o 'script print(95000 + 126, nil, "a")' 2> %t.stderr > %t.stdout
22 # RUN: cat %t.stdout | FileCheck %s --check-prefix STDOUT