From Fedora Project Wiki

Revision as of 04:26, 27 August 2023 by Sumantrom (talk | contribs) (Created page with "{{QA/Test_Case |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`. |actions= # 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 of `test_inpu...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.