Index: trunk/psLib/test/mathtypes/tap_psVector.c
===================================================================
--- trunk/psLib/test/mathtypes/tap_psVector.c	(revision 8789)
+++ trunk/psLib/test/mathtypes/tap_psVector.c	(revision 8790)
@@ -96,5 +96,12 @@
         psVector *psVec = psVectorAlloc(5, PS_TYPE_S32);
         psVec->n = 5;
-        psVec = psVectorRealloc(psVec,3);
+
+        // generate test data values
+        for(psS32 i = 0; i < 5; i++) {
+            psVec->data.S32[i] = i*10;
+            psVec->n++;
+        }
+
+        psVec = psVectorRealloc(psVec, 3);
 
         ok(psVec != NULL, "test vector reallocated to smaller size");
@@ -103,5 +110,5 @@
         ok(psVec->n == 3, "Vector population = %ld", psVec->n);
 
-        // test data values
+        // check that the test data values survived the realloc
         for(psS32 i = 0; i < 3; i++) {
             ok (psVec->data.S32[i] == i*10, "Elem %d = %d, expected %d", i, psVec->data.S32[i], i*10);
