150
|
1 # This tests setting setting values.
|
|
2
|
|
3 # Check that setting an empty value with -f(orce) clears the value.
|
173
|
4 # RUN: not %lldb -b -s %s 2>&1 | FileCheck %s
|
150
|
5
|
236
|
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
|
|
10
|
150
|
11 settings set tab-size 16
|
|
12 settings show tab-size
|
|
13 # CHECK: tab-size (unsigned) = 16
|
|
14
|
|
15 settings set -f tab-size
|
|
16 settings show tab-size
|
|
17 # CHECK: tab-size (unsigned) = 4
|
|
18
|
|
19 settings set tab-size
|
|
20 # CHECK: error: 'settings set' takes more arguments
|