Skip to content

Add dependency checking

Punit Agrawal ltp 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4controllers/cgroup_fj_common.sh: Check for dependencies during setuptestcases/kernel/controllers/cgroup_fj/cgroup_fj_common.sh+1 -00 replies
2/4quota_remount_test01: Add explicit check for dependenciestestcases/kernel/fs/quota_remount/quota_remount_test01.sh+4 -00 replies
3/4memcg_lib.sh: Check for killalltestcases/kernel/controllers/memcg/functional/memcg_lib.sh+3 -00 replies
4/4controllers/pids.sh: Check for killalltestcases/kernel/controllers/pids/pids.sh+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [LTP] [PATCH 0/4] Add dependency checking

Hi,

While investigating failures from nightly runs, I came across some tests that don't explicitly check for dependencies.

Add appropriate check for dependencies so the tests are reported as an issue with the configuration rather than a test failure. These set of patches transitions ~50-60 tests from reporting failures to a configuration issue.

Thanks,
Punit

Punit Agrawal (4):
controllers/cgroup_fj_common.sh: Check for dependencies during setup
quota_remount_test01: Add explicit check for dependencies memcg_lib.sh: Check for killall
controllers/pids.sh: Check for killall

 testcases/kernel/controllers/cgroup_fj/cgroup_fj_common.sh | 1 +
 testcases/kernel/controllers/memcg/functional/memcg_lib.sh | 3 +++
 testcases/kernel/controllers/pids/pids.sh                  | 1 +
 testcases/kernel/fs/quota_remount/quota_remount_test01.sh  | 4 ++++
 4 files changed, 9 insertions(+)
Signature · 1 line
2.17.1