/[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.3 - (hide annotations) (download) (as text)
Mon Oct 4 14:07:40 2004 UTC (13 years, 11 months ago) by vapier
Branch: MAIN
CVS Tags: portage_2_0_51_r13, portage_2_0_51_r10, portage_2_0_51, portage_2_0_51_r7, portage_2_0_51_rc9, portage_2_0_51_r5, portage_041204
Branch point for: portage_2_0
Changes since 1.2: +2 -0 lines
File MIME type: text/x-python
copyright updates

1 carpaski 1.1 #!/usr/bin/python -O
2 vapier 1.3 # Copyright 2004 Gentoo Foundation
3     # Distributed under the terms of the GNU General Public License v2
4 carpaski 1.2 # $Header: $
5 carpaski 1.1
6 carpaski 1.2 import portage
7     import portage_db_template
8     import portage_db_anydbm
9     import portage_db_flat
10     import portage_db_cpickle
11 carpaski 1.1
12 carpaski 1.2 import os
13    
14     uid = os.getuid()
15     gid = os.getgid()
16    
17     portage_db_template.test_database(portage_db_flat.database,"/var/cache/edb/dep", "sys-apps",portage.auxdbkeys,uid,gid)
18     portage_db_template.test_database(portage_db_cpickle.database,"/var/cache/edb/dep","sys-apps",portage.auxdbkeys,uid,gid)
19     portage_db_template.test_database(portage_db_anydbm.database,"/var/cache/edb/dep", "sys-apps",portage.auxdbkeys,uid,gid)
20 carpaski 1.1

  ViewVC Help
Powered by ViewVC 1.1.20