This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch bernie/benchmarking in repository toolchain/abe.
The following commit(s) were added to refs/heads/bernie/benchmarking by this push: new 86dbf67 Use xargs rather than expansion to kill sleeper 86dbf67 is described below
commit 86dbf675989c2eed0ac8284b3914af1c74403aed Author: Bernard Ogden bernie.ogden@linaro.org Date: Tue Aug 11 11:19:06 2015 +0200
Use xargs rather than expansion to kill sleeper
Killing the sleeper on LAVA target releases that target. Was doing this with a nested command 'kill $(cat /root/sleeper)', but this is always confusing in shell. Changed to use xargs instead.
Change-Id: I0849843c13b9b899f1032f406974434e5df2a937 --- config/bench/lava/host-session | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/bench/lava/host-session b/config/bench/lava/host-session index 54f2833..3a8065e 100755 --- a/config/bench/lava/host-session +++ b/config/bench/lava/host-session @@ -51,7 +51,7 @@ fi #Non-parameters that we need to pass to Benchmark.job export ABE_DIR export post_build_cmd="rm ${HOME}/data/socket" -export post_target_cmd='kill \$(cat /root/sleeper)' +export post_target_cmd="cat /root/sleeper | xargs kill" export maindir="/${HOME}/bench" mkdir "${maindir}" || exit 1 chmod 700 "${maindir}" || exit 1