comparison lldb/test/Shell/Settings/TestSettingsSet.test @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children 0572611fdcc8
comparison
equal deleted inserted replaced
147:c2174574ed3a 150:1d019706d866
1 # This tests setting setting values.
2
3 # Check that setting an empty value with -f(orce) clears the value.
4 # RUN: %lldb -b -s %s 2>&1 | FileCheck %s
5
6 settings set tab-size 16
7 settings show tab-size
8 # CHECK: tab-size (unsigned) = 16
9
10 settings set -f tab-size
11 settings show tab-size
12 # CHECK: tab-size (unsigned) = 4
13
14 settings set tab-size
15 # CHECK: error: 'settings set' takes more arguments