/[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.5 - (show annotations) (download) (as text)
Wed Mar 9 09:10:18 2005 UTC (9 years, 6 months ago) by ferringb
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +2 -2 lines
File MIME type: text/x-python
FILE REMOVED
banish the old cache classes to the attic.

1 #!/usr/bin/python -O
2 # Copyright 2004 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: /var/cvsroot/gentoo-src/portage/pym/portage_db_test.py,v 1.4 2005/02/26 06:35:20 jstubbs Exp $
5 cvs_id_string="$Id: portage_db_test.py,v 1.4 2005/02/26 06:35:20 jstubbs Exp $"[5:-2]
6
7 import portage
8 import portage_db_template
9 import portage_db_anydbm
10 import portage_db_flat
11 import portage_db_cpickle
12
13 import os
14
15 uid = os.getuid()
16 gid = os.getgid()
17
18 portage_db_template.test_database(portage_db_flat.database,"/var/cache/edb/dep", "sys-apps",portage.auxdbkeys,uid,gid)
19 portage_db_template.test_database(portage_db_cpickle.database,"/var/cache/edb/dep","sys-apps",portage.auxdbkeys,uid,gid)
20 portage_db_template.test_database(portage_db_anydbm.database,"/var/cache/edb/dep", "sys-apps",portage.auxdbkeys,uid,gid)

  ViewVC Help
Powered by ViewVC 1.1.20