Index: /trunk/psLib/test/sys/tst_psString.c
===================================================================
--- /trunk/psLib/test/sys/tst_psString.c	(revision 6210)
+++ /trunk/psLib/test/sys/tst_psString.c	(revision 6211)
@@ -20,6 +20,6 @@
  *  @author  Eric Van Alst, MHPCC
  *
- *  @version $Revision: 1.1 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2005-07-13 02:47:01 $
+ *  @version $Revision: 1.2 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2006-01-26 23:31:22 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -50,4 +50,6 @@
 static psS32 testStrPrepend02(void);
 static psS32 testStrPrepend03(void);
+
+static psS32 testStrSplit00(void);
 
 testDescription tests[] = {
@@ -69,4 +71,5 @@
                               {testStrPrepend02,13, "Verify prepend string creation", 0, false},
                               {testStrPrepend03,14, "Test prepend null-op", 0, false},
+                              {testStrSplit00,15, "Test String Splitting", 0, false},
                               {NULL}
                           };
@@ -435,2 +438,48 @@
     return 0;
 }
+
+static psS32 testStrSplit00(void)
+{
+    psList *strList = NULL;
+    char str[30];
+    char split[5];
+    strncpy(str, "This is, a, test case, to check.", 30);
+    strncpy(split, ",", 2);
+    psString psStr;
+    psString psSplit;
+    psStr = psStringCopy(str);
+    psSplit = psStringCopy(split);
+
+    //Return NULL for NULL inputs
+    psLogMsg(__func__,PS_LOG_INFO,"Following should generate error message");
+    strList = psStringSplit(NULL, NULL);
+    if (strList != NULL) {
+        psFree(strList);
+    }
+    //Return NULL for NULL string input
+    psLogMsg(__func__,PS_LOG_INFO,"Following should generate error message");
+    strList = psStringSplit(NULL, split);
+    if (strList != NULL) {
+        psFree(strList);
+    }
+    //Return NULL for NULL splitter input
+    psLogMsg(__func__,PS_LOG_INFO,"Following should generate error message");
+    strList = psStringSplit(str, NULL);
+    if (strList != NULL) {
+        psFree(strList);
+    }
+
+
+    /*
+        strList = psStringSplit(str, split);
+     
+        strList = psStringSplit(psStr, split);
+     
+        strList = psStringSplit(str, psSplit);
+     
+        strList = psStringSplit(psStr, psSplit);
+    */
+    //    psFree(strList);
+    return 0;
+}
+
