2 # script file to create a 'real' test ant nest in a fake post code
4 # This file is part of the breadcrumbs daemon (bcd).
5 # Copyright (C) 2007 Pasqualino Ferrentino
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2 of the License, or
10 # (at your option) any later version.
12 # This program is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write to the Free Software
19 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22 # Contact: lino.ferrentino@yahoo.it (in Italian, English or German).
26 an_create_new_founder token my_token
45 an_create_new_founder token my_token
65 an_create_new_founder token my_token
85 an_create_new_founder token my_token
100 --OUTPUT-- @ my_token
105 an_create_new_founder token my_token
120 --OUTPUT-- @ my_token
124 ##################################################33
125 ## OK, now I should wait for the daemon
130 sv_connect session_id my_session
137 na_update_founder_personal_data
138 --OUTPUT-- @ my_session
151 sv_connect session_id my_session
159 na_update_founder_personal_data
160 --OUTPUT-- @ my_session
174 sv_connect session_id my_session
181 na_update_founder_personal_data
182 --OUTPUT-- @ my_session
185 Vicolo Tre Marchetti, 144
195 sv_connect session_id my_session
202 na_update_founder_personal_data
203 --OUTPUT-- @ my_session
206 Via Antonio Beccadelli, 54
216 sv_connect session_id my_session
223 na_update_founder_personal_data
224 --OUTPUT-- @ my_session
227 Via Antonio da Legnago, 136
237 ##########################################
238 ## end of immitting personal data...
243 sv_connect session_id my_session
251 na_create_founder_trusts
252 --OUTPUT-- @ my_session
265 sv_connect session_id my_session
272 na_create_founder_trusts
273 --OUTPUT-- @ my_session
285 sv_connect session_id my_session
292 na_create_founder_trusts
293 --OUTPUT-- @ my_session
305 sv_connect session_id my_session
312 na_create_founder_trusts
313 --OUTPUT-- @ my_session
325 sv_connect session_id my_session
332 na_create_founder_trusts
333 --OUTPUT-- @ my_session
344 ##########################################################
345 ## finished creating the trust.
350 sv_connect session_id my_session
357 nu_update_candidates_flags
358 --OUTPUT-- @ my_session
364 sv_connect session_id my_session
371 nu_update_candidates_flags
372 --OUTPUT-- @ my_session
378 sv_connect session_id my_session
385 nu_update_candidates_flags
386 --OUTPUT-- @ my_session
392 sv_connect session_id my_session
399 nu_update_candidates_flags
400 --OUTPUT-- @ my_session
406 sv_connect session_id my_session
414 nu_update_candidates_flags
415 --OUTPUT-- @ my_session
420 ############################################
421 ## OK, No vote needed, Now the boss should define the public sites
425 #now the initial setup
428 sv_connect session_id my_session
436 --OUTPUT-- @ my_session
439 Dalla rotonda di piazza Giulio Cesare
440 svoltare alla prima a destra.
441 La scuola e` il primo edificio di color verde sulla sinistra.
442 Chiedere al portiere.=
452 sv_connect session_id my_session
460 --OUTPUT-- @ my_session
463 circolo culturale "arcobaleno"
465 Il circolo si trova a fianco alla scuola X dicembre.
466 C'e` un cartello ed anche un citofono. Suonare e chiedere del sig. Rossi.=
475 ##### end of ant nest creation...
477 ############################################
478 ## now I start the user creation
482 sv_connect session_id my_session
489 an.create_normal_user token marzio_token
490 --OUTPUT-- @ my_session
496 Via Antonio Beccadelli, 54
506 sv_connect session_id my_session
514 --OUTPUT-- @ my_session
515 --OUTPUT-- @ marzio_token
521 --OUTPUT-- @ marzio_token
527 sv_connect session_id my_session
535 --OUTPUT-- @ my_session
542 sv_connect session_id my_session
551 --OUTPUT-- @ my_session
558 an.create_normal_user token vera_token
559 --OUTPUT-- @ my_session
575 sv_connect session_id my_session
583 --OUTPUT-- @ my_session
584 --OUTPUT-- @ vera_token
591 --OUTPUT-- @ vera_token
597 sv_connect session_id my_session
604 an.create_normal_user token luca_token
605 --OUTPUT-- @ my_session
621 sv_connect session_id my_session
629 --OUTPUT-- @ my_session
630 --OUTPUT-- @ luca_token
636 --OUTPUT-- @ luca_token
642 sv_connect session_id my_session
649 an.create_normal_user token gianna_token
650 --OUTPUT-- @ my_session
656 via Pino Silvestre 99
666 sv_connect session_id my_session
674 --OUTPUT-- @ my_session
675 --OUTPUT-- @ gianna_token
681 --OUTPUT-- @ gianna_token
687 sv_connect session_id my_session
694 an.create_normal_user token sergio_token
695 --OUTPUT-- @ my_session
711 sv_connect session_id my_session
720 --OUTPUT-- @ my_session
721 --OUTPUT-- @ sergio_token
727 --OUTPUT-- @ sergio_token
733 sv_connect session_id my_session
740 an.create_normal_user token carla_token
741 --OUTPUT-- @ my_session
747 via delle Frittelle calde 81
757 sv_connect session_id my_session
765 --OUTPUT-- @ my_session
766 --OUTPUT-- @ carla_token
772 --OUTPUT-- @ carla_token
778 sv_connect session_id my_session
785 an.create_normal_user token giuseppe_token
786 --OUTPUT-- @ my_session
802 sv_connect session_id my_session
811 --OUTPUT-- @ my_session
812 --OUTPUT-- @ giuseppe_token
819 --OUTPUT-- @ giuseppe_token