From adeaf5c0daef34ce609a3a779a81884c838ab934 Mon Sep 17 00:00:00 2001 From: Owen Shepherd Date: Thu, 27 Dec 2012 21:38:54 +0000 Subject: [PATCH] qsort: Regression test now ignores 4th test on Mac OS X in addition to BSDs (test causes hang) --- functions/stdlib/qsort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/stdlib/qsort.c b/functions/stdlib/qsort.c index 3e349fb..51edf4b 100644 --- a/functions/stdlib/qsort.c +++ b/functions/stdlib/qsort.c @@ -154,7 +154,7 @@ int main( void ) strcpy( s, presort ); qsort( s, 1, 1, compare ); TESTCASE( strcmp( s, presort ) == 0 ); -#if __BSD_VISIBLE +#if defined(REGTEST) && (__BSD_VISIBLE || __APPLE__) puts( "qsort.c: Skipping test #4 for BSD as it goes into endless loop here." ); #else qsort( s, 100, 0, compare ); -- 2.40.0