Skip to content
Snippets Groups Projects
Commit 0a63618f authored by Guido Günther's avatar Guido Günther
Browse files

New patch Disable-daemon-start-test.patch

Disable daemon start test
parent 0defeee3
No related branches found
No related tags found
No related merge requests found
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
Date: Sat, 16 Apr 2011 13:36:08 +0200
Subject: Disable daemon start test
since we don't have sys. This is a workaround only.
---
tests/daemon-conf | 12 ------------
1 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/tests/daemon-conf b/tests/daemon-conf
index 6aa3269..4dac92e 100755
--- a/tests/daemon-conf
+++ b/tests/daemon-conf
@@ -97,18 +97,6 @@ fi
sed 's/^\(host_uuid =.*\)0"$/\11"/; s/^\(audit_level =.*\)2$/\1 1/' tmp.conf > k
mv k tmp.conf
-$abs_top_builddir/daemon/libvirtd --pid-file=pid-file --config=tmp.conf \
- > log 2>&1 & pid=$!
-sleep $sleep_secs
-kill $pid
-
-RET=0
-# Expect an orderly shut-down and successful exit.
-wait $pid || RET=1
-
-test_result $i "valid config file (sleeping $sleep_secs seconds)" $RET
-test $RET = 0 || fail=1
-
test_final $i $fail
# "cat log" would print this for non-root:
--
......@@ -7,3 +7,4 @@ patch-qemuMonitorTextGetMigrationStatus-to-intercept.patch
Disable-CHECKSUM-rule.patch
Debianize-libvirt-guests.patch
virsh-Initialize-library-before-calling-virResetLast.patch
Disable-daemon-start-test.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment