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

  1. Make sure fstrm is installed: sudo dnf install fstrm.

How to test

  1. Run fstrm_capture -h to display the help menu and validate that the utility is installed correctly.
  2. Create a simple test file: echo "Test framestream data" > test_input.
  3. Use fstrm_capture to capture the contents of test_input into a frame-stream file: fstrm_capture -t protobuf:dnstap.Dnstap -w test_output.fstrm < test_input.
  4. Use fstrm_dump to read the frame-stream file and display its contents: fstrm_dump test_output.fstrm.

Expected Results

  1. The fstrm_capture -h command should successfully display the help menu without errors.
  2. The fstrm_capture command should create a file named test_output.fstrm.
  3. The fstrm_dump command should successfully read the test_output.fstrm file and display its contents, which should match with "Test framestream data".

Optional

  1. Test additional functionality provided by the fstrm package.