1# REQUIRES: python
2
3# RUN: rm -rf %t && mkdir -p %t
4# RUN: echo "print('Rene Magritte')" >> %t/foo.py
5
6# RUN: %lldb --script-language python -o 'command script import %t/foo.py' 2>&1 | FileCheck %s
7# RUN: %lldb --script-language python -o 'command script import -s %t/foo.py' 2>&1 | FileCheck %s --check-prefix SILENT
8# RUN: %lldb --script-language python -o 'command script import --silent %t/foo.py' 2>&1 | FileCheck %s --check-prefix SILENT
9
10CHECK: Rene Magritte
11SILENT-NOT: Rene Magritte
12