Displaying 3 results from an estimated 3 matches for "c9f8a2d".
Did you mean:
d9f8a2d
2009 Jul 16
1
[PATCH node-image] Removes the explicit setting of the emulator for testing.
Instead, the script lets libvirt determine which emulator to use.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
autotest.sh | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/autotest.sh b/autotest.sh
index c9f8a2d..96a15b5 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -270,7 +270,6 @@ define_node () {
# flexible options
# define defaults, then allow the caller to override them as needed
local arch=$(uname -i)
- local emulator=$(which qemu-kvm)
local serial="true"
local v...
2009 Jul 21
1
[PATCH node-image] Moved all temporary files into a single work directory to clean up.
...les are kept in a single directory. At the end of the
autotests that one directory is deleted.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
autotest.sh | 20 +++++++++++---------
1 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/autotest.sh b/autotest.sh
index c9f8a2d..d658cf3 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -40,6 +40,7 @@
# an ISO file.
ME=$(basename "$0")
+WORKDIR=$(mktemp -d)
warn() { printf '%s: %s\n' "$ME" "$*" >&2; }
die() { warn "$*"; exit 1; }
debug() { if $debugging; then log &...
2009 Jul 21
2
[PATCH node-image] Adds a preserve option for autotest VMs.
...tion is provided, then no VMs are destroyed. Instead they,
and their related networks, are left intact.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
autotest.sh | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/autotest.sh b/autotest.sh
index c9f8a2d..b72ec98 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -219,6 +219,9 @@ stop_networking () {
networkname=${NETWORK_NAME-}
fi
+ # exit if preserve was enabled
+ if $preserve_vm; then return; fi
+
if [ -n "${networkname}" ]; then
debug "Destroying ne...