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
fstrmis installed:sudo dnf install fstrm.
How to test
- Run
fstrm_capture -hto 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_captureto capture the contents oftest_inputinto a frame-stream file:fstrm_capture -t protobuf:dnstap.Dnstap -w test_output.fstrm < test_input. - Use
fstrm_dumpto read the frame-stream file and display its contents:fstrm_dump test_output.fstrm.
Expected Results
- The
fstrm_capture -hcommand should successfully display the help menu without errors. - The
fstrm_capturecommand should create a file namedtest_output.fstrm. - The
fstrm_dumpcommand should successfully read thetest_output.fstrmfile and display its contents, which should match with "Test framestream data".
Optional
- Test additional functionality provided by the
fstrmpackage.
