1 # RUN: rm -rf %t.stderr %t.stdout
2 # RUN: cat %s | %lldb --script-language lua 2> %t.stderr > %t.stdout
3 # RUN: cat %t.stdout | FileCheck %s --check-prefix STDOUT
4 # RUN: cat %t.stderr | FileCheck %s --check-prefix STDERR
6 file = lldb.SBFile(2, "w", false)
7 lldb.debugger:SetOutputFile(file)
8 io.write(95000 + 126, "\n")
11 io.write(95000 + 14, "\n")
17 # RUN: rm -rf %t.stderr %t.stdout
18 # RUN: %lldb --script-language lua -o 'script io.stderr:write(95000 + 126, "\n")' 2> %t.stderr > %t.stdout
19 # RUN: cat %t.stdout | FileCheck %s --check-prefix STDOUT