apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r280470 - /apr/apr/branches/1.2.x/test/testlfs.c
Date Tue, 13 Sep 2005 02:52:30 GMT
Author: wrowe
Date: Mon Sep 12 19:52:28 2005
New Revision: 280470

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

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

Modified:
    apr/apr/branches/1.2.x/test/testlfs.c

Modified: apr/apr/branches/1.2.x/test/testlfs.c
URL: http://svn.apache.org/viewcvs/apr/apr/branches/1.2.x/test/testlfs.c?rev=280470&r1=280469&r2=280470&view=diff
==============================================================================
--- apr/apr/branches/1.2.x/test/testlfs.c (original)
+++ apr/apr/branches/1.2.x/test/testlfs.c Mon Sep 12 19:52:28 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