This repository has been archived by the owner on Sep 23, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more testing framework for cloud client test
- Loading branch information
BuzzTroll
committed
Aug 13, 2010
1 parent
8d25635
commit 8fe5c30
Showing
4 changed files
with
71 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,35 @@ | |||
# This file is sourced by "autoconfig-adjustments.sh" before it runs. | |||
|
|||
# File contents injected @ Fri Aug 13 10:57:25 CDT 2010 | |||
|
|||
NIMBUS_CONFIG_CONTAINER_RUNNER="@WHO@" | |||
export NIMBUS_CONFIG_CONTAINER_RUNNER | |||
|
|||
NIMBUS_CONFIG_VMM_RUNNER="@WHO@" | |||
export NIMBUS_CONFIG_VMM_RUNNER | |||
|
|||
NIMBUS_CONFIG_VMM_RUN_KEY="@KEY@" | |||
export NIMBUS_CONFIG_VMM_RUN_KEY | |||
|
|||
NIMBUS_CONFIG_CONTAINER_HOSTNAME="localhost" | |||
export NIMBUS_CONFIG_CONTAINER_HOSTNAME | |||
|
|||
NIMBUS_CONFIG_SSH_USE_CONTACT_STRING="@WHO@@localhost" | |||
export NIMBUS_CONFIG_SSH_USE_CONTACT_STRING | |||
|
|||
NIMBUS_CONFIG_SSH_USE_CONTACT_PORT="22" | |||
export NIMBUS_CONFIG_SSH_USE_CONTACT_PORT | |||
|
|||
NIMBUS_CONFIG_TEST_VMM="localhost" | |||
export NIMBUS_CONFIG_TEST_VMM | |||
|
|||
NIMBUS_CONFIG_TEST_VMM_RAM="256" | |||
export NIMBUS_CONFIG_TEST_VMM_RAM | |||
|
|||
NIMBUS_CONFIG_VMM_CONTROL_EXE="/home/nimbus/nimbus-controls-2.5/workspace-control/bin/workspace-control.sh" | |||
export NIMBUS_CONFIG_VMM_CONTROL_EXE | |||
|
|||
NIMBUS_CONFIG_VMM_CONTROL_TMPDIR="/home/nimbus/nimbus-controls-2.5/workspace-control/var/workspace-control/tmp" | |||
export NIMBUS_CONFIG_VMM_CONTROL_TMPDIR | |||
|
|||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,14 @@ | |||
import pexpect | |||
import sys | |||
|
|||
cmd = "%s %s" % (sys.argv[1], sys.argv[2]) | |||
logfile = sys.stdout | |||
child = pexpect.spawn (cmd, timeout=800, maxread=200000, logfile=logfile) | |||
child.expect ('CA Name:') | |||
print child.before | |||
child.sendline ('CA') | |||
child.expect ('Hostname:') | |||
print child.before | |||
child.sendline ('localhost') | |||
x = child.readlines() | |||
print x |