/[gentoo-src]/portage/pym/portage_db_test.py
Gentoo

Contents of /portage/pym/portage_db_test.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download) (as text)
Mon Mar 22 01:40:58 2004 UTC (14 years, 8 months ago) by carpaski
Branch: MAIN
CVS Tags: portage_2_0_51_pre10, portage_2_0_51_pre11, portage_2_0_51_pre12, portage_2_0_51_pre13, portage_2_0_51_pre14, portage_2_0_51_pre15, portage_2_0_51_pre8, portage_2_0_51_pre18, portage_2_0_51_rc1, portage_2_0_51_pre7b, portage_2_0_51_rc3, portage_2_0_51_rc4, portage_2_0_51_rc7, portage_2_0_51_pre9, portage_2_0_51_rc5, portage_2_0_51_pre4, portage_2_0_51_pre5, portage_2_0_50_r2, portage_2_0_51_pre6, portage_2_0_51_pre7, portage_2_0_51_pre16, portage_2_0_51_pre20, portage_2_0_51_pre23, portage_2_0_51_pre22, portage_2_0_51_pre24, portage_2_0_51_pre19
Changes since 1.1: +14 -2 lines
File MIME type: text/x-python
Portage-2.0.50-r2
Laundry list of fixes and updates. See the changelog.

1 #!/usr/bin/python -O
2 # $Header: $
3
4 import portage
5 import portage_db_template
6 import portage_db_anydbm
7 import portage_db_flat
8 import portage_db_cpickle
9
10 import os
11
12 uid = os.getuid()
13 gid = os.getgid()
14
15 portage_db_template.test_database(portage_db_flat.database,"/var/cache/edb/dep", "sys-apps",portage.auxdbkeys,uid,gid)
16 portage_db_template.test_database(portage_db_cpickle.database,"/var/cache/edb/dep","sys-apps",portage.auxdbkeys,uid,gid)
17 portage_db_template.test_database(portage_db_anydbm.database,"/var/cache/edb/dep", "sys-apps",portage.auxdbkeys,uid,gid)
18

  ViewVC Help
Powered by ViewVC 1.1.20