t_plat.py revision 430
290N/A# The contents of this file are subject to the terms of the 290N/A# Common Development and Distribution License (the "License"). 290N/A# You may not use this file except in compliance with the License. 290N/A# See the License for the specific language governing permissions 290N/A# and limitations under the License. 290N/A# When distributing Covered Code, include this CDDL HEADER in each 290N/A# If applicable, add the following below this CDDL HEADER, with the 290N/A# fields enclosed by brackets "[]" replaced with your own identifying 290N/A# information: Portions Copyright [yyyy] [name of copyright owner] 290N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 290N/A# Use is subject to license terms. 430N/A# Set the path so that modules above can be found 402N/A # make sure it can be used in an fmri 402N/A # rename a file on top of another file which already exists 402N/A # create an image, copy an executable into it, 402N/A # run the executable, replace the executable 402N/A # Make sure that the moved executable gets deleted 402N/A # First do a rename in another image 402N/A # Now do another rename in the original image 402N/A # This should cause the executable to deleted from the trash