1# 2# Upgrade script 3# 4# History: 5# 2013/06/06 : pda : design 6# 7 8# Load dump of previous version 9load-db load21 %NMLIBDIR%/tests/netmagis-2.1.1.dump 10 11# Apply upgrade procedure 12test-sh upgr22 "psql --no-psqlrc --single-transaction \ 13 -f %NMXMPDIR%/upgrade/21-22/upgrade.sql && echo ok" {ok} 14 15# Check index from a valid user 16test-cgi index-1 index pda {} {Welcome in Netmagis application} 17 18# Check index from a non-existent user 19test-cgi index-2 index noone {} {User 'noone' is not in the authentication base} 20 21# Check admindex from a valid user 22test-cgi admindex-1 admindex pda {} {Administration module} 23 24# Check admindex from a non-authorized user 25test-cgi admindex-2 admindex bob {} {User 'bob' not authorized} 26 27# Check translation engine 28test-cgi index-fr index pda {l=fr} {Bienvenue dans l'application Netmagis} 29