Displaying 4 results from an estimated 4 matches for "test_stateless_pxe".
2009 Jul 21
1
[PATCH node-image] Moved all temporary files into a single work directory to clean up.
...$WORKDIR/$nodename-new.xml
if [ -n "${nodename}" ]; then
local xml=$(sudo virsh dumpxml $nodename | sed "s/boot dev='"${old_device}"'/boot dev='"${new_device}"'/")
@@ -471,7 +472,7 @@ substitute_boot_device () {
add_test "test_stateless_pxe"
test_stateless_pxe () {
local nodename="${vm_prefix}-stateless-pxe"
- local workdir=$(mktemp -d)
+ local workdir=$WORKDIR
start_networking $nodename $IFACE_NAME false true $workdir
@@ -513,7 +514,7 @@ exit 3'
add_test "test_stateless_pxe_with_nohd"...
2009 May 19
1
[PATCH node-image] Fixing the autotest script.
The test_stateless_pxe_nohd test was broken. Fixed.
Result code was not matching the success/failure state for the tests.
Fixed.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
autotest.sh | 115 +++++++++++++++++++++++++++++++++-------------------------
1 files changed, 65 insertions(+), 50 deletio...
2009 Dec 15
1
[PATCH] The autotest timeout is now a command line configurable option.
...: run all autotests)
-d: enable more verbose output (default: disabled)
+ -t: change the timeout between markers (in ms, default: 120)
-v: enable tracing (default: disabled)
-w: launch virt-viewer for each VM (default: no window shown)
-h: display this help and exit
@@ -484,7 +485,7 @@ test_stateless_pxe () {
boot_with_pxe "${nodename}" "standalone firstboot=no" "${workdir}"
expect -c '
-set timeout 120
+set timeout '${timeout_period}'
log_file -noappend stateless-pxe.log
@@ -526,7 +527,7 @@ test_stateless_pxe_with_nohd () {
boot_with_...
2010 Mar 26
3
[PATCH node] Update autobuild and autotest scripts for new build structure
...en
+ local xml=$(sudo virsh dumpxml $nodename | sed "s/boot dev='"${old_device}"'/boot dev='"${new_device}"'/")
+
+ sudo printf "${xml}" > $new_node_file
+
+ sudo virsh define $new_node_file
+ fi
+}
+
+add_test "test_stateless_pxe"
+test_stateless_pxe () {
+ local nodename="${vm_prefix}-stateless-pxe"
+ local workdir=$WORKDIR
+
+ start_networking $nodename $IFACE_NAME false true $workdir
+
+ configure_node "${nodename}" "network" "" "10000" "" "...