Add a test script for exercising the "taregt create", "target list", and "target select" commands.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@129717 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectTarget.cpp b/source/Commands/CommandObjectTarget.cpp
index 6332976..b5693b1 100644
--- a/source/Commands/CommandObjectTarget.cpp
+++ b/source/Commands/CommandObjectTarget.cpp
@@ -300,6 +300,7 @@
             {
                 strm.PutCString ("No targets.\n");
             }
+            result.SetStatus (eReturnStatusSuccessFinishResult);
         }
         else
         {
@@ -355,6 +356,7 @@
                         target_list.SetSelectedTarget (target_sp.get());
                         bool show_stopped_process_status = false;
                         DumpTargetList (target_list, show_stopped_process_status, strm);
+                        result.SetStatus (eReturnStatusSuccessFinishResult);
                     }
                     else
                     {