generic/228: set vars for early _cleanup
authorEric Wong <e@80x24.org>
Sat, 25 Dec 2021 06:03:29 +0000 (06:03 +0000)
committerEryu Guan <guaneryu@gmail.com>
Sat, 25 Dec 2021 10:52:28 +0000 (18:52 +0800)
commit53628c36629b0b9c2905a3599220d3f9dbc5695f
treec0d58cc161b31ab42683f9153f1c7f86aa7bbe2c
parentf375cedff940302e13940324fc0db304cbcbed64
generic/228: set vars for early _cleanup

The `core_pattern' and `ulimit_c' variables must be set to
restore their original values in case _cleanup fires early.

Signed-off-by: Eric Wong <e@80x24.org>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/228