apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r280465 - /apr/apr/trunk/test/testvsn.c
Date Tue, 13 Sep 2005 02:47:13 GMT
Author: wrowe
Date: Mon Sep 12 19:47:10 2005
New Revision: 280465

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

  I noted that we didn't test the is_dev flag.  Do so.

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

Modified: apr/apr/trunk/test/testvsn.c
URL: http://svn.apache.org/viewcvs/apr/apr/trunk/test/testvsn.c?rev=280465&r1=280464&r2=280465&view=diff
==============================================================================
--- apr/apr/trunk/test/testvsn.c (original)
+++ apr/apr/trunk/test/testvsn.c Mon Sep 12 19:47:10 2005
@@ -26,6 +26,12 @@
     ABTS_STR_EQUAL(tc, APR_VERSION_STRING, apr_version_string());
 }
 
+#ifdef APR_IS_DEV_VERSION
+# define IS_DEV 1
+#else
+# define IS_DEV 0
+#endif
+
 static void test_ints(abts_case *tc, void *data)
 {
     apr_version_t vsn;
@@ -35,6 +41,7 @@
     ABTS_INT_EQUAL(tc, APR_MAJOR_VERSION, vsn.major);
     ABTS_INT_EQUAL(tc, APR_MINOR_VERSION, vsn.minor);
     ABTS_INT_EQUAL(tc, APR_PATCH_VERSION, vsn.patch);
+    ABTS_INT_EQUAL(tc, IS_DEV,            vsn.is_dev);
 }
 
 abts_suite *testvsn(abts_suite *suite)



Mime
View raw message