t_pkg_depotd.py revision 975
87107747f8a51d0f07c2e2a415fcf9c494783f0fhenning mueller# CDDL HEADER START
7ea9649883e1bbe8f2582db1a3c66af8b7206056henning mueller# The contents of this file are subject to the terms of the
0075dcb5aeeee4864fe9f64db82c8a8202bbe6d6henning mueller# Common Development and Distribution License (the "License").
cbb18f95cb8354f0c3fb44ba5134dadc7ad6b2ecJulian Kornberger# You may not use this file except in compliance with the License.
3cd45197413df1ff1401697720f1ac9ccef8f8eehenning mueller# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3cd45197413df1ff1401697720f1ac9ccef8f8eehenning mueller# or http://www.opensolaris.org/os/licensing.
ec96c6e3605c2e9eb5c0113e4e1b07b3b5228c8chenning mueller# See the License for the specific language governing permissions
87107747f8a51d0f07c2e2a415fcf9c494783f0fhenning mueller# and limitations under the License.
ffa89afcecb07f2fe8664d097cc6839d1d22d7dbhenning mueller# When distributing Covered Code, include this CDDL HEADER in each
b0779279f704973922208157bb41a4c1569ce356henning mueller# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ecf32c9d659a1f42c730d61eaa93583c095a4fddhenning mueller# If applicable, add the following below this CDDL HEADER, with the
ecf32c9d659a1f42c730d61eaa93583c095a4fddhenning mueller# fields enclosed by brackets "[]" replaced with your own identifying
ecf32c9d659a1f42c730d61eaa93583c095a4fddhenning mueller# information: Portions Copyright [yyyy] [name of copyright owner]
432ee743a5f1c5688c73446b5977b06ed97fb67cJulian Kornberger# CDDL HEADER END
7ea9649883e1bbe8f2582db1a3c66af8b7206056henning mueller# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
631f43db46ad7d375010c3169c81764eb27270a3Julian Kornberger# Use is subject to license terms.
631f43db46ad7d375010c3169c81764eb27270a3Julian Kornberger testutils.setup_environment("../../../proto")
ecf32c9d659a1f42c730d61eaa93583c095a4fddhenning muellerclass TestPkgDepot(testutils.SingleDepotTestCase):
631f43db46ad7d375010c3169c81764eb27270a3Julian Kornberger # Only start/stop the depot once (instead of for every test)
f.write(p)
f.close()
f.close()
f.close()
f.close()
"/usr/lib/pkg.depotd")
f.write(p)
f.close()
if check_feed:
"/usr/lib/pkg.depotd")
except OSError, e:
mode_methods = [
pages = [
"en/catalog.shtml",
"en/index.shtml",
"en/search.shtml",
"en/stats.shtml",
if with_packages:
if set_method:
if unset_method: