llvm-project/lldb/lit/Settings/TestSettingsSet.test

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