diff contrib/nightly_tests/README @ 352:2521e4d91dac

Added the allext test
author Sebastien Decugis <sdecugis@nict.go.jp>
date Tue, 29 Jun 2010 17:11:12 +0900
parents 69ec5dcc1fb2
children 5d988e250308
line wrap: on
line diff
--- a/contrib/nightly_tests/README	Tue Jun 29 17:10:52 2010 +0900
+++ b/contrib/nightly_tests/README	Tue Jun 29 17:11:12 2010 +0900
@@ -13,18 +13,44 @@
 1) Install all dependencies for freeDiameter. See the "prereqs" file.
 $ sudo aptitude install `wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/prereqs -O -`
 
-2) Create a directory ~/fDtests
+2) Create the "test" database for app_acct test (we assume the tests are run as user "test" here)
+# su - postgres
+# createuser test
+Shall the new role be a superuser? (y/n) n
+Shall the new role be allowed to create databases? (y/n) y
+Shall the new role be allowed to create more new roles? (y/n) n
+# logout
+$ whoami
+test
+$ createdb test
+$ psql test
+psql (8.4.4)
+Type "help" for help.
+
+test=> 
+CREATE TABLE incoming_test (
+recorded_on timestamp with time zone NOT NULL,
+"Accounting-Record-Type" integer,
+"Session-Id" bytea,
+"Accounting-Record-Number" integer,
+"Route-Record1" bytea,
+"Route-Record2" bytea,
+"Route-Record3" bytea,
+"Route-Record4" bytea );
+\q
+
+3) Create a directory ~/fDtests
 $ cd
 $ mkdir fDtests
 $ cd fDtests
 
-3) Retrieve the runtests.sh script and save in this directory
+4) Retrieve the runtests.sh script and save in this directory
 $ wget http://www.freediameter.net/hg/freeDiameter/raw-file/tip/contrib/nightly_tests/runtests.sh
 $ chmod +x runtests.sh
 
-4) Create a file local.cmake defining the name of the build slave in this directory also.
+5) Create a file local.cmake defining the name of the build slave in this directory also.
 $ echo "SET(CTEST_SITE \""`hostname`"\")" > local.cmake
 
-5) Run the script once to check it works properly
+6) Run the script once to check it works properly
 
-6) Set up a crontab to run the script
+7) Set up a crontab to run the script
"Welcome to our mercurial repository"