libtracefs: Unit tests for the new APIs for opening and reading ftrace files

Added unit tests for:
  tracefs_instance_file_open();
  tracefs_instance_file_read_number();

Link: https://lore.kernel.org/linux-trace-devel/20210112092024.605705-7-tz.stoyanov@gmail.com

Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
1 file changed