Files
apfstests/common
Johannes Thumshirn 7fc034868d common/config: create $RESULT_BASE before dumping kmemleak leaks
In _init_kmemleak() we're touching a check_kmemleak file in
${RESULT_BASE} if ${DEBUGFS_MNT/kmemleak} exists as a marker that we
have to check for kmemleak output after running a test.

In 'check' we're calling _init_kmemleak() at around 60% of the file,
but ${RESULT_BASE} is created later at around 62% of the file,
causing the 'touch' in _init_kmemleak() to fail.

Create the ${RESULT_BASE} just after assigning the default value in
get_next_config()

[Eryu: check for mkdir failure and remove the $RESULT_BASE creation
in check.]

Signed-off-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
2018-12-22 20:02:26 +08:00
..
2018-06-09 11:34:49 +10:00
2018-12-09 22:56:06 +08:00
2018-06-09 11:34:49 +10:00
2018-06-09 11:34:49 +10:00
2018-06-09 11:34:49 +10:00
2018-06-09 11:34:49 +10:00
2017-11-26 15:37:22 +08:00
2018-06-09 11:34:49 +10:00
2018-07-14 18:24:11 +08:00