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
44 an_create_new_founder token my_token
62 an_create_new_founder token my_token
80 an_create_new_founder token my_token
98 an_create_new_founder token my_token
111 --OUTPUT-- @ my_token
115 ##################################################33
116 ## OK, now I should wait for the daemon
121 sv_connect session_id my_session
128 na_update_founder_personal_data
129 --OUTPUT-- @ my_session
142 sv_connect session_id my_session
150 na_update_founder_personal_data
151 --OUTPUT-- @ my_session
165 sv_connect session_id my_session
172 na_update_founder_personal_data
173 --OUTPUT-- @ my_session
176 Vicolo Tre Marchetti, 144
186 sv_connect session_id my_session
193 na_update_founder_personal_data
194 --OUTPUT-- @ my_session
197 Via Antonio Beccadelli, 54
207 sv_connect session_id my_session
214 na_update_founder_personal_data
215 --OUTPUT-- @ my_session
218 Via Antonio da Legnago, 136
228 ##########################################
229 ## end of immitting personal data...
234 sv_connect session_id my_session
242 na_create_founder_trusts
243 --OUTPUT-- @ my_session
256 sv_connect session_id my_session
263 na_create_founder_trusts
264 --OUTPUT-- @ my_session
276 sv_connect session_id my_session
283 na_create_founder_trusts
284 --OUTPUT-- @ my_session
296 sv_connect session_id my_session
303 na_create_founder_trusts
304 --OUTPUT-- @ my_session
316 sv_connect session_id my_session
323 na_create_founder_trusts
324 --OUTPUT-- @ my_session
335 ##########################################################
336 ## finished creating the trust.
341 sv_connect session_id my_session
348 nu_update_candidates_flags
349 --OUTPUT-- @ my_session
355 sv_connect session_id my_session
362 nu_update_candidates_flags
363 --OUTPUT-- @ my_session
369 sv_connect session_id my_session
376 nu_update_candidates_flags
377 --OUTPUT-- @ my_session
383 sv_connect session_id my_session
390 nu_update_candidates_flags
391 --OUTPUT-- @ my_session
397 sv_connect session_id my_session
405 nu_update_candidates_flags
406 --OUTPUT-- @ my_session
411 ############################################
412 ## OK, No vote needed, Now the boss should define the public sites
416 #now the initial setup
419 sv_connect session_id my_session
427 --OUTPUT-- @ my_session
430 Dalla rotonda di piazza Giulio Cesare\
431 svoltare alla prima a destra.\
432 La scuola e` il primo edificio di color verde sulla sinistra.\
433 Chiedere al portiere.
441 sv_connect session_id my_session
449 --OUTPUT-- @ my_session
452 circolo culturale "arcobaleno"
454 Il circolo si trova a fianco alla scuola X dicembre.\
455 C'e` un cartello ed anche un citofono. Suonare e chiedere del sig. Rossi.
462 ##### end of ant nest creation...
464 ############################################
465 ## now I start the user creation
469 sv_connect session_id my_session
476 an.create_normal_user token marzio_token
477 --OUTPUT-- @ my_session
483 Via Antonio Beccadelli, 54
493 sv_connect session_id my_session
501 --OUTPUT-- @ my_session
502 --OUTPUT-- @ marzio_token
508 --OUTPUT-- @ marzio_token
514 sv_connect session_id my_session
522 --OUTPUT-- @ my_session
529 sv_connect session_id my_session
538 --OUTPUT-- @ my_session
545 an.create_normal_user token vera_token
546 --OUTPUT-- @ my_session
562 sv_connect session_id my_session
570 --OUTPUT-- @ my_session
571 --OUTPUT-- @ vera_token
578 --OUTPUT-- @ vera_token
584 sv_connect session_id my_session
591 an.create_normal_user token luca_token
592 --OUTPUT-- @ my_session
608 sv_connect session_id my_session
616 --OUTPUT-- @ my_session
617 --OUTPUT-- @ luca_token
623 --OUTPUT-- @ luca_token
629 sv_connect session_id my_session
636 an.create_normal_user token gianna_token
637 --OUTPUT-- @ my_session
643 via Pino Silvestre 99
653 sv_connect session_id my_session
661 --OUTPUT-- @ my_session
662 --OUTPUT-- @ gianna_token
668 --OUTPUT-- @ gianna_token
674 sv_connect session_id my_session
681 an.create_normal_user token sergio_token
682 --OUTPUT-- @ my_session
698 sv_connect session_id my_session
707 --OUTPUT-- @ my_session
708 --OUTPUT-- @ sergio_token
714 --OUTPUT-- @ sergio_token
720 sv_connect session_id my_session
727 an.create_normal_user token carla_token
728 --OUTPUT-- @ my_session
734 via delle Frittelle calde 81
744 sv_connect session_id my_session
752 --OUTPUT-- @ my_session
753 --OUTPUT-- @ carla_token
759 --OUTPUT-- @ carla_token
765 sv_connect session_id my_session
772 an.create_normal_user token giuseppe_token
773 --OUTPUT-- @ my_session
789 sv_connect session_id my_session
798 --OUTPUT-- @ my_session
799 --OUTPUT-- @ giuseppe_token
806 --OUTPUT-- @ giuseppe_token
811 ######################################################
812 ######################################################
815 sv_connect session_id my_session
823 us_insert_personal_data_trusts
824 --OUTPUT-- @ my_session
837 sv_connect session_id my_session
845 us_insert_personal_data_trusts
846 --OUTPUT-- @ my_session
857 #######################################################
858 #######################################################
859 ## some test deposits and changes
862 sv_connect session_id my_session
869 bk.create_deposit_booking booking_token booking_token1 blinded_token blinded_token1
870 --OUTPUT-- @ my_session
875 sv_connect session_id my_session
883 bk.create_deposit_booking booking_token booking_token2 blinded_token blinded_token2
884 --OUTPUT-- @ my_session
889 sv_connect session_id my_session
897 bk.lookup_deposit full_token full_1 id dep_id_1
898 --OUTPUT-- @ my_session
899 --OUTPUT-- @ booking_token1
903 bk.treasurer_acknowledged
904 --OUTPUT-- @ my_session
905 --OUTPUT-- @ dep_id_1
910 bk.lookup_deposit full_token full_2 id dep_id_2
911 --OUTPUT-- @ my_session
912 --OUTPUT-- @ booking_token2
916 bk.treasurer_acknowledged
917 --OUTPUT-- @ my_session
918 --OUTPUT-- @ dep_id_2
923 sv_connect session_id my_session
931 bk.claim_deposit_blinded
932 --OUTPUT-- @ my_session
933 --OUTPUT-- @ blinded_token1
939 sv_connect session_id my_session
947 bk.claim_deposit_blinded
948 --OUTPUT-- @ my_session
949 --OUTPUT-- @ blinded_token2
955 sv_connect session_id my_session
963 bk.change_euro_in_tao
964 --OUTPUT-- @ my_session
969 sv_connect session_id my_session
977 bk.change_euro_in_tao
978 --OUTPUT-- @ my_session