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

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children 0572611fdcc8
line wrap: on
line source

# This tests setting setting values.

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