test/fs_report: delay Report/ROM file removal

Ref #2839
This commit is contained in:
Ehmry - 2018-06-07 11:13:49 +02:00 committed by Norman Feske
parent 4ae47c3f38
commit 96112ec66d

View File

@ -139,7 +139,12 @@ struct Test::Main
log("(9) received expected focus ROM content");
_focus_rom->sigh(_focus_removal_handler);
_one_shot_timeout.construct(_timer, *this, &Main::_handle_timer_3);
_one_shot_timeout->schedule(Microseconds(500*1000));
}
void _handle_timer_3(Duration)
{
log("(10) remove focus file");
_vfs_env.root_dir().unlink("focus");
}