Files
clang-p2996/lldb/test/Shell/Settings/TestSettingsSet.test
Jonas Devlieghere 87aa9c9e4d Re-land "[test] Split LLDB tests into API, Shell & Unit"
The original patch got reverted because it broke `check-lldb` on a clean
build. This fixes that.

llvm-svn: 374201
2019-10-09 19:22:02 +00:00

16 lines
388 B
Plaintext

# This tests setting setting values.
# Check that setting an empty value with -f(orce) clears the value.
# RUN: %lldb -b -s %s 2>&1 | FileCheck %s
settings set tab-size 16
settings show tab-size
# CHECK: tab-size (unsigned) = 16
settings set -f tab-size
settings show tab-size
# CHECK: tab-size (unsigned) = 4
settings set tab-size
# CHECK: error: 'settings set' takes more arguments