misc.xml revision 22153d8f79980de73939bd64fa05510181f5cebb
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync ! CDDL HEADER START
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync ! The contents of this file are subject to the terms of the
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync ! Common Development and Distribution License, Version 1.0 only
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync ! (the "License"). You may not use this file except in compliance
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync ! with the License.
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync ! You can obtain a copy of the license at
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync ! See the License for the specific language governing permissions
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync ! and limitations under the License.
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync ! When distributing Covered Code, exclude this CDDL HEADER in each
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync ! file and exclude the License file at
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync ! add the following below this CDDL HEADER, with the fields enclosed
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync ! by brackets "[]" replaced with your own identifying information:
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync ! Portions Copyright [yyyy] [name of copyright owner]
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync ! CDDL HEADER END
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync ! Copyright 2008 Sun Microsystems, Inc.
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync <!--- Test Suite information
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync #@TestSuiteName Setup-Uninstall misc Tests
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync #@TestSuitePurpose Test miscelaneous setup/uninstall commands
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync that do not fit into any other test suite
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync #@TestSuiteGroup misc
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync #@TestSuiteID misc Tests
74cbfe8cd9e0617fc789820f0e81e995df2fd7a0vboxsync #@TestGroup Setup-Uninstall
74cbfe8cd9e0617fc789820f0e81e995df2fd7a0vboxsync #@TestScript misc.xml
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync if not CurrentTestPath.has_key('group'):
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync CurrentTestPath['group'] = 'setup'
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync CurrentTestPath['suite'] = 'misc'
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync 'host' : STAF_REMOTE_HOSTNAME,
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync 'port' : 7500,
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync 'Got this free port: %s' % MISC_I1_PORT
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync <!--- Test Case information
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync #@TestMarker Setup-Uninstall Misc tests
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync #@TestName Setup-Uninstall: Misc:
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync #@TestID misc
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync #@TestPurpose Launch buggy setup & uninstall commands and check
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync that they are rejected
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync #@TestPreamble
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync #@TestStep Unzip OpenDS ZIP delivery
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync Setup OpenDS with unexisting option
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync Check for error
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync Setup OpenDS with no options
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync Check for error
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync Uninstall an uninstalled OpenDS
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync Check for error
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync #@TestPostamble
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync #@TestResult PASS if all steps ran without errors
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync MISC_I1_ROOT = '%s/%s' % (MISC_I1_BASE, OPENDSNAME)
2a21a474a93152e7a1637578953dfc3093f374b2vboxsync <message>'Setup Uninstall: Command errors'</message>
p.append('--cli --no-prompt')
p.append('--rootUserPassword "kangourou"')
p.append('--doesNotExist')
p.append('--cli --no-prompt')
p.append('--cli --no-prompt')
p.append('--removeAll')