Displaying 4 results from an estimated 4 matches for "test_stateless_pxe_with_nohd".
2009 Jul 21
1
[PATCH node-image] Moved all temporary files into a single work directory to clean up.
...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"
test_stateless_pxe_with_nohd () {
local nodename="${vm_prefix}-stateless-pxe-nohd"
- local workdir=$(mktemp -d)
+ local workdir=$WORKDIR
start_networking $nodename $IFACE_NAME false true $workdir
@@ -556,7 +557,7 @@ exit 3'
add_test "test_stateful_pxe&...
2009 May 19
1
[PATCH node-image] Fixing the autotest script.
...ADDRESS}"
fi
@@ -407,8 +406,7 @@ tests=''; testcount=0;
# $1 - test name
add_test () {
- tests[$testcount]=$1
- testcount=$testcount+1
+ tests="${tests} $1"
}
# $1 - node name
@@ -470,19 +468,20 @@ substitute_boot_device () {
fi
}
-add_test "test_stateless_pxe_with_nohd"
-test_stateless_pxe_with_nohd () {
- local nodename="${vm_prefix}-stateless-pxe-nohd"
+add_test "test_stateless_pxe"
+test_stateless_pxe () {
+ local nodename="${vm_prefix}-stateless-pxe"
local workdir=$(mktemp -d)
start_networking $nodename $IF...
2009 Dec 15
1
[PATCH] The autotest timeout is now a command line configurable option.
...p 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_pxe "${nodename}" "firstboot=no" "${workdir}"
expect -c '
-set timeout 120
+set timeout '${timeout_period}'
log_file -noappend stateless-pxe.log
@@ -575,7 +576,7 @@ test_stateful_pxe () {
# verify the booting and insta...
2010 Mar 26
3
[PATCH node] Update autobuild and autotest scripts for new build structure
.....\n\n"
+exit 1
+ } eof {
+send_log "Unexpected end of file."
+exit 2
+ }
+}
+
+send_log "\n\nUnexpected end of interaction.\n\n"
+exit 3'
+ result=$?
+
+ destroy_node $nodename
+ stop_networking $IFACE_NAME true
+
+ return $result
+}
+
+add_test "test_stateless_pxe_with_nohd"
+test_stateless_pxe_with_nohd () {
+ local nodename="${vm_prefix}-stateless-pxe-nohd"
+ local workdir=$WORKDIR
+
+ start_networking $nodename $IFACE_NAME false true $workdir
+
+ configure_node "${nodename}" "network" "" "" "&q...