changeset 355:1ae3f2c28737

Yet another fix
author Sebastien Decugis <sdecugis@nict.go.jp>
date Wed, 30 Jun 2010 11:24:15 +0900
parents 818a787ae5f8
children e203fc0c95e3
files contrib/nightly_tests/allext.conf freeDiameter/tests/testappacct.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/nightly_tests/allext.conf	Wed Jun 30 11:14:49 2010 +0900
+++ b/contrib/nightly_tests/allext.conf	Wed Jun 30 11:24:15 2010 +0900
@@ -7,7 +7,7 @@
 
 set(CTEST_BUILD_OPTIONS "")
 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_ACL_WL:BOOL=ON")
-set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_APP_ACCT:BOOL=ON -DTEST_APP_ACCT:BOOL=ON -DTEST_APP_ACCT_CONNINFO:STRING=\"user=test\\ dbname=test\"")
+set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_APP_ACCT:BOOL=ON -DTEST_APP_ACCT:BOOL=ON -DTEST_APP_ACCT_CONNINFO:STRING=user=test\\ dbname=test")
 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_APP_RADGW:BOOL=ON")
 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_DBG_MONITOR:BOOL=ON")
 set(CTEST_BUILD_OPTIONS "${CTEST_BUILD_OPTIONS} -DBUILD_DBG_RT:BOOL=ON")
--- a/freeDiameter/tests/testappacct.c	Wed Jun 30 11:14:49 2010 +0900
+++ b/freeDiameter/tests/testappacct.c	Wed Jun 30 11:24:15 2010 +0900
@@ -108,7 +108,7 @@
 		CHECK( 0, acct_conf_init() );
 		acct_config->conninfo = strdup(TEST_CONNINFO);
 		acct_config->tablename = strdup(TABLE);
-		acct_config->tsfield = strdup("ts");
+		acct_config->tsfield = strdup("recorded_on");
 		CHECK( 0, add_avp_in_conf(strdup("Session-Id"), 0) );
 		CHECK( 0, add_avp_in_conf(strdup("Accounting-Record-Type"), 0) );
 		CHECK( 0, add_avp_in_conf(strdup("Accounting-Record-Number"), 0) );
@@ -128,7 +128,7 @@
 		PQclear(res);
 		
 		res = PQexec(conn, "CREATE TABLE " TABLE " ( "
-					"  ts timestamp with time zone NOT NULL, "
+					"  recorded_on timestamp with time zone NOT NULL, "
 					"  \"Accounting-Record-Type\" integer, "
 					"  \"Session-Id\" bytea, "
 					"  \"Accounting-Record-Number\" integer, "
"Welcome to our mercurial repository"