t_pkg_depotd.py revision 689
581N/A# The contents of this file are subject to the terms of the 581N/A# Common Development and Distribution License (the "License"). 581N/A# You may not use this file except in compliance with the License. 581N/A# See the License for the specific language governing permissions 581N/A# and limitations under the License. 581N/A# When distributing Covered Code, include this CDDL HEADER in each 581N/A# If applicable, add the following below this CDDL HEADER, with the 581N/A# fields enclosed by brackets "[]" replaced with your own identifying 581N/A# information: Portions Copyright [yyyy] [name of copyright owner] 581N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 581N/A# Use is subject to license terms. 581N/A add dir mode=0755 owner=root group=bin path=/bin 581N/A # write the name of the file into the file, so that 581N/A # all files have differing contents 581N/A """ Ping the depot several times """ 581N/A """ Start and stop the depot several times """ 581N/A """ Send package quux@1.0 an action at a time, restarting the 581N/A depot server after each one is sent, to ensure that 581N/A transactions work across depot restart. Then verify that 581N/A the package was successfully added by performing some 689N/A """Publish a package and then verify that the depot /info 689N/A operation doesn't fail."""