annotate lldb/test/Shell/Settings/TestSettingsSet.test @ 173:0572611fdcc8 llvm10 llvm12

reorgnization done
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 11:55:54 +0900
parents 1d019706d866
children c4bab56944e8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 # This tests setting setting values.
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 # Check that setting an empty value with -f(orce) clears the value.
173
0572611fdcc8 reorgnization done
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 150
diff changeset
4 # RUN: not %lldb -b -s %s 2>&1 | FileCheck %s
150
anatofuz
parents:
diff changeset
5
anatofuz
parents:
diff changeset
6 settings set tab-size 16
anatofuz
parents:
diff changeset
7 settings show tab-size
anatofuz
parents:
diff changeset
8 # CHECK: tab-size (unsigned) = 16
anatofuz
parents:
diff changeset
9
anatofuz
parents:
diff changeset
10 settings set -f tab-size
anatofuz
parents:
diff changeset
11 settings show tab-size
anatofuz
parents:
diff changeset
12 # CHECK: tab-size (unsigned) = 4
anatofuz
parents:
diff changeset
13
anatofuz
parents:
diff changeset
14 settings set tab-size
anatofuz
parents:
diff changeset
15 # CHECK: error: 'settings set' takes more arguments