Added a test case for setting term-width, too.

llvm-svn: 113219
diff --git a/lldb/test/settings/TestSettings.py b/lldb/test/settings/TestSettings.py
index 35b12f9..10cfedc 100644
--- a/lldb/test/settings/TestSettings.py
+++ b/lldb/test/settings/TestSettings.py
@@ -25,6 +25,20 @@
         self.expect("settings show",
             substrs = ["prompt (string) = 'lldb2'"])
 
+    def test_set_term_width(self):
+        """Test that 'set term-width' actually changes the term-width."""
+
+        # No '-o' option is needed for static setting.
+        self.runCmd("settings set term-width 70")
+
+        # Immediately test the setting.
+        self.expect("settings show term-width",
+            startstr = "term-width (int) = '70'")
+
+        # The overall display should also reflect the new setting.
+        self.expect("settings show",
+            startstr = "term-width (int) = 70")
+
 
 if __name__ == '__main__':
     import atexit