1 # This tests setting setting values.
3 # Check that setting an empty value with -f(orce) clears the value.
4 # RUN: not %lldb -b -s %s 2>&1 | FileCheck %s
6 # Make sure that "settings set -g" no longer requires a bogus filename.
7 settings set -g target.skip-prologue false
8 settings show target.skip-prologue
9 # CHECK: target.skip-prologue (boolean) = false
11 settings set tab-size 16
12 settings show tab-size
13 # CHECK: tab-size (unsigned) = 16
15 settings set -f tab-size
16 settings show tab-size
17 # CHECK: tab-size (unsigned) = 2
20 # CHECK: error: 'settings set' takes more arguments