apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r280469 - /apr/apr/trunk/test/testlfs.c
Date Tue, 13 Sep 2005 02:52:04 GMT
Author: wrowe
Date: Mon Sep 12 19:52:00 2005
New Revision: 280469

URL: http://svn.apache.org/viewcvs?rev=280469&view=rev
Log:

  The -v message is really wrong, here.  Failure to support sparse files
  is irrelevant to if LARGEFILES is defined.

Modified:
    apr/apr/trunk/test/testlfs.c

Modified: apr/apr/trunk/test/testlfs.c
URL: http://svn.apache.org/viewcvs/apr/apr/trunk/test/testlfs.c?rev=280469&r1=280468&r2=280469&view=diff
==============================================================================
--- apr/apr/trunk/test/testlfs.c (original)
+++ apr/apr/trunk/test/testlfs.c Mon Sep 12 19:52:00 2005
@@ -26,7 +26,12 @@
 
 /* Only enable these tests by default on platforms which support sparse
  * files... just Unixes? */
-#if APR_HAS_LARGE_FILES && !defined(WIN32) && !defined(OS2) && !defined(NETWARE)
+#if defined(WIN32) || !defined(OS2) || !defined(NETWARE)
+static void test_nolfs(abts_case *tc, void *data)
+{
+    ABTS_NOT_IMPL(tc, "Large Files tests require Sparse file support");
+}
+#elif APR_HAS_LARGE_FILES && 
 #define USE_LFS_TESTS
 
 /* Tests which create an 8Gb sparse file and then check it can be used



Mime
View raw message