mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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>
This commit is contained in:
committed by
Eryu Guan
parent
0f15de7795
commit
7b6729e9ab
+1
-1
@@ -154,7 +154,7 @@ _workout()
|
||||
>> $seqres.full 2>&1 && \
|
||||
_fail "failed: still able to perform integrity fsync on $SCRATCH_MNT"
|
||||
|
||||
kill $fs_pid
|
||||
kill $fs_pid &> /dev/null
|
||||
wait $fs_pid
|
||||
wait $fio_pid
|
||||
|
||||
|
||||
Reference in New Issue
Block a user