view 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
line wrap: on
line source

# This tests setting setting values.

# Check that setting an empty value with -f(orce) clears the value.
# RUN: not %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