diff options
| author | Steve Muckle <smuckle@google.com> | 2019-02-08 15:23:41 -0800 |
|---|---|---|
| committer | Steve Muckle <smuckle@google.com> | 2019-02-08 15:23:41 -0800 |
| commit | 0c9e4391bf5482ebec7ca13c28f642cbc89df61a (patch) | |
| tree | e74994faa19188d1755e6948ec33b9b1e6005915 /android | |
| parent | fdff0e784211d5ffe64e6efddc42eb5e7c739eab (diff) | |
| download | platform_external_ltp-0c9e4391bf5482ebec7ca13c28f642cbc89df61a.tar.gz platform_external_ltp-0c9e4391bf5482ebec7ca13c28f642cbc89df61a.tar.bz2 platform_external_ltp-0c9e4391bf5482ebec7ca13c28f642cbc89df61a.zip | |
ANDROID: cki_coverage: fix coverage for shutdown
There are several tests which test the shutdown syscall,
despite it not being the primary focus of the test.
Bug: 112484140
Change-Id: I90ff0150226b5010db85acc39b3392c0e8823942
Signed-off-by: Steve Muckle <smuckle@google.com>
Diffstat (limited to 'android')
| -rwxr-xr-x | android/tools/cki_coverage.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/android/tools/cki_coverage.py b/android/tools/cki_coverage.py index 5603d7425..1c274b03b 100755 --- a/android/tools/cki_coverage.py +++ b/android/tools/cki_coverage.py @@ -244,6 +244,9 @@ class CKI_Coverage(object): return True if syscall in ("prlimit", "ugetrlimit") and test == "getrlimit03": return True + shutdown_tests = [ "send01", "sendmsg01", "sendto01" ] + if syscall == "shutdown" and test in shutdown_tests: + return True return False |
