From Fedora Project Wiki
Description
This test case aims to verify that the fstrm (Frame Streams) library and its utilities are functioning properly on a Fedora system.
Setup
- Make sure
fstrm
is installed:sudo dnf install fstrm
.
How to test
- Run
fstrm_capture -h
to display the help menu and validate that the utility is installed correctly. - Create a simple test file:
echo "Test framestream data" > test_input
. - Use
fstrm_capture
to capture the contents oftest_input
into a frame-stream file:fstrm_capture -t protobuf:dnstap.Dnstap -w test_output.fstrm < test_input
. - Use
fstrm_dump
to read the frame-stream file and display its contents:fstrm_dump test_output.fstrm
.
Expected Results
- The
fstrm_capture -h
command should successfully display the help menu without errors. - The
fstrm_capture
command should create a file namedtest_output.fstrm
. - The
fstrm_dump
command should successfully read thetest_output.fstrm
file and display its contents, which should match with "Test framestream data".
Optional
- Test additional functionality provided by the
fstrm
package.