From 74d51c8c3e18a8b6738aff0c6f7ff706fd70eaa6 Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Thu, 26 Jun 2014 13:57:02 +0200 Subject: initial commit for Enea Linux 4.0 Migrated from the internal git server on the daisy-enea branch Signed-off-by: Adrian Dudau --- .../virt-test/files/qemu-tests-stress-config.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 recipes-test/virt-test/files/qemu-tests-stress-config.patch (limited to 'recipes-test/virt-test/files/qemu-tests-stress-config.patch') diff --git a/recipes-test/virt-test/files/qemu-tests-stress-config.patch b/recipes-test/virt-test/files/qemu-tests-stress-config.patch new file mode 100644 index 0000000..6a2cd0e --- /dev/null +++ b/recipes-test/virt-test/files/qemu-tests-stress-config.patch @@ -0,0 +1,28 @@ +commit 270cc35ea5c0379df1502f2a83af992db4d65439 +Author: Jonas Eriksson +Date: Fri Mar 28 08:46:49 2014 +0100 + + stress: Add configuration + + Signed-off-by: Jonas Eriksson + Upstream-Status: Inappropriate [configuration] + +diff --git a/qemu/tests/cfg/softlockup.cfg b/qemu/tests/cfg/softlockup.cfg +index 28e4057..1588b6a 100644 +--- a/qemu/tests/cfg/softlockup.cfg ++++ b/qemu/tests/cfg/softlockup.cfg +@@ -1,12 +1,11 @@ + - softlockup: install setup unattended_install.cdrom +- no JeOS + only Linux + type = softlockup + stress_source = stress-1.0.4.tar.gz +- stress_setup_cmd = "cd %s && tar xvf stress-1.0.4.tar.gz && cd stress-1.0.4 && ./configure && make && cd src" ++ monitor_dir = "/opt/virt-test/test-providers.d/downloads/io-github-autotest-qemu/qemu/deps/softlockup/" + server_setup_cmd = "%s/heartbeat_slu.py --server --threshold %s --file %s --port %s --verbose --check-drift" + client_setup_cmd = "%s/heartbeat_slu.py --client --address %s --file %s --port %s --interval 1" +- stress_cmd = "cd %s && cd stress-1.0.4 && cd src && nohup ./stress -c %s > /dev/null 2>&1&" ++ stress_cmd = "sh -ec 'export dir=%s/stress-run; mkdir -p $dir; cd $dir' && nohup stress -c %s > /dev/null 2>&1 &" + kill_monitor_cmd = "ps aux | grep heart | grep -v grep | awk '{print$2}' | xargs kill -9 > /dev/null 2>&1" + kill_stress_cmd = "pkill -f stress > /dev/null 2>&1" + drift_cmd = "tail -1 %s | awk '{print $7}'" -- cgit v1.2.3-54-g00ecf