You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2005/09/13 04:52:04 UTC
svn commit: r280469 - /apr/apr/trunk/test/testlfs.c
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
Re: svn commit: r280469 - /apr/apr/trunk/test/testlfs.c
Posted by Joe Orton <jo...@redhat.com>.
On Tue, Sep 13, 2005 at 02:52:04AM -0000, William Rowe wrote:
> --- 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)
== #if 1
> +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 &&
&& what?