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 io.write(95000 + 126, "\n")
13 io.write(95000 + 14, "\n")
19 # RUN: rm -rf %t.stderr %t.stdout
20 # RUN: %lldb --script-language lua -o 'script io.stderr:write(95000 + 126, "\n")' 2> %t.stderr > %t.stdout
21 # RUN: cat %t.stdout | FileCheck %s --check-prefix STDOUT