controllers/pids.sh: A few fixes
* Add executable flag to the pids.sh script
* Redirect stderr to stdout for kill pids_task2
* Fix the limit for third testcase:
Since we start a pids_task1 which tries to do a fork and expects to
succeed the limit must be lesser number of attached tasks - 2. It
makes more sense to increase the parameter by two rather than
decreasing it since the test 'pids.sh 3 1' fails because it tries to
start -1 tasks. The runtest file is updated accordingly.
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
2 files changed