]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/019: Silence possible kill failure
authorNikolay Borisov <nborisov@suse.com>
Tue, 6 Jun 2017 13:37:22 +0000 (16:37 +0300)
committerEryu Guan <eguan@redhat.com>
Tue, 6 Jun 2017 15:10:18 +0000 (23:10 +0800)
commit7b6729e9ab5a309d219c479c6831dffaf2a0ec89
tree882741bfffc729051293296e3585678c247fb7f2
parent0f15de779527e2359f6f179fd44290b68725a74b
generic/019: Silence possible kill failure

When the filesystem is force-killed in generic/019 and fsstress is
compiled with DEBUG then it's possible for check_cwd() to fail. In
this case fsstress would just die and invoking kill on its pid would
produce an error to the output file:

+./tests/generic/019: line 157: kill: (32750) - No such process

Fix this possibility by ignoring the result of the output command,
this won't affect the test coverage.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/generic/019