[PATCH 3/3] Add new case for stress test
Frank Ch. Eigler
fche@redhat.com
Tue Dec 15 12:41:00 GMT 2015
zhouwj-fnst wrote:
> [...]
> +proc gen_load {} {
> + # if 'genload' from the ltp exists, use it to create a real load
> + set genload {/usr/local/ltp/testcases/bin/genload}
> + if [file executable $genload] {
> [...]
How about using the same logic used in lib/stap_run.exp looking for
/usr/bin/stress? Or $PATH searching? That /usr/local/ltp path is
just not a good fit for general installations.
- FChE
More information about the Systemtap
mailing list