diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 13:57:02 +0200 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2014-06-26 13:57:02 +0200 |
commit | 74d51c8c3e18a8b6738aff0c6f7ff706fd70eaa6 (patch) | |
tree | d4b576b12f8fe930ac8a76056ecaa356ec0ec133 /recipes-test/virt-test/files/qemu-tests-stress-config.patch | |
download | meta-vt-74d51c8c3e18a8b6738aff0c6f7ff706fd70eaa6.tar.gz |
initial commit for Enea Linux 4.0daisy-enea
Migrated from the internal git server on the daisy-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-test/virt-test/files/qemu-tests-stress-config.patch')
-rw-r--r-- | recipes-test/virt-test/files/qemu-tests-stress-config.patch | 28 |
1 files changed, 28 insertions, 0 deletions
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 @@ | |||
1 | commit 270cc35ea5c0379df1502f2a83af992db4d65439 | ||
2 | Author: Jonas Eriksson <jonas.eriksson@enea.com> | ||
3 | Date: Fri Mar 28 08:46:49 2014 +0100 | ||
4 | |||
5 | stress: Add configuration | ||
6 | |||
7 | Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com> | ||
8 | Upstream-Status: Inappropriate [configuration] | ||
9 | |||
10 | diff --git a/qemu/tests/cfg/softlockup.cfg b/qemu/tests/cfg/softlockup.cfg | ||
11 | index 28e4057..1588b6a 100644 | ||
12 | --- a/qemu/tests/cfg/softlockup.cfg | ||
13 | +++ b/qemu/tests/cfg/softlockup.cfg | ||
14 | @@ -1,12 +1,11 @@ | ||
15 | - softlockup: install setup unattended_install.cdrom | ||
16 | - no JeOS | ||
17 | only Linux | ||
18 | type = softlockup | ||
19 | stress_source = stress-1.0.4.tar.gz | ||
20 | - stress_setup_cmd = "cd %s && tar xvf stress-1.0.4.tar.gz && cd stress-1.0.4 && ./configure && make && cd src" | ||
21 | + monitor_dir = "/opt/virt-test/test-providers.d/downloads/io-github-autotest-qemu/qemu/deps/softlockup/" | ||
22 | server_setup_cmd = "%s/heartbeat_slu.py --server --threshold %s --file %s --port %s --verbose --check-drift" | ||
23 | client_setup_cmd = "%s/heartbeat_slu.py --client --address %s --file %s --port %s --interval 1" | ||
24 | - stress_cmd = "cd %s && cd stress-1.0.4 && cd src && nohup ./stress -c %s > /dev/null 2>&1&" | ||
25 | + stress_cmd = "sh -ec 'export dir=%s/stress-run; mkdir -p $dir; cd $dir' && nohup stress -c %s > /dev/null 2>&1 &" | ||
26 | kill_monitor_cmd = "ps aux | grep heart | grep -v grep | awk '{print$2}' | xargs kill -9 > /dev/null 2>&1" | ||
27 | kill_stress_cmd = "pkill -f stress > /dev/null 2>&1" | ||
28 | drift_cmd = "tail -1 %s | awk '{print $7}'" | ||