]> pd.if.org Git - pdclib/commitdiff
Disabled zero-length sorting test when running under *BSD as *BSD libc falls into...
authorsolar <unknown>
Fri, 27 Jan 2006 06:27:27 +0000 (06:27 +0000)
committersolar <unknown>
Fri, 27 Jan 2006 06:27:27 +0000 (06:27 +0000)
functions/stdlib/qsort.c

index 8941e6db7a187e73aee6fcc03668396bcd63f8fc..fedda0f58f710e851f3d2151cc9d668ecceb9c20 100644 (file)
@@ -154,8 +154,12 @@ int main()
     strcpy( s, presort );
     qsort( s, 1, 1, compare );
     TESTCASE( strcmp( s, presort ) == 0 );
+#if __BSD_VISIBLE
+    puts( "qsort.c: Skipping test #4 for BSD as it goes into endless loop here." );
+#else
     qsort( s, 100, 0, compare );
     TESTCASE( strcmp( s, presort ) == 0 );
+#endif
     return TEST_RESULTS;
 }