Delete bad PAL test case
authorJan Kotas <jkotas@microsoft.com>
Sat, 12 Dec 2015 23:33:19 +0000 (15:33 -0800)
committerJan Kotas <jkotas@microsoft.com>
Sat, 12 Dec 2015 23:33:19 +0000 (15:33 -0800)
src/pal/tests/palsuite/c_runtime/rand_srand/test1/test1.c

index 5476545..fa48509 100644 (file)
@@ -64,11 +64,6 @@ int __cdecl main(int argc, char **argv)
     for(i = 0; i < 10; i++)
     {
         TempRandNumber=rand();      
-        if(RandNumber[i]==TempRandNumber)
-        {
-          Fail("ERROR: rand should return the different value when srand "
-               "is initialized with different value");
-        } 
         if (TempRandNumber < 0 || TempRandNumber > RAND_MAX)
         {
             Fail("2) ERROR: random generated an invalid value: %d", TempRandNumber);