This directory contains trace_generator.py, a utility for generating golden trace files on Linux to verifying Starnix line discipline behavior.
The generator MUST be run on a Linux host (not Fuchsia/Starnix) as it captures the behavior of the host's PTY implementation.
To generate all trace files:
python3 src/starnix/lib/line_discipline/testing/trace_generator.py
This will generate trace files in src/starnix/lib/line_discipline/testing/generated/.
Note: You must run this script manually whenever you change or add a scenario.
scenarios directory.scenarios_list.json.