The in_process_bus test (test/in_process_bus.cpp) can only execute a single command with each test, and this command has to be provided on the command line. For s2pexec as an initiator client an interactive mode shall be added. This mode will make it more convenient to test SCSI commands without a Pi, because you can run subsequent commands against the same s2p process, and you can also run a script with command, like it is already supported for s2pctl.
A typical use case is checking the sector size of a drive with READ CAPACITY, then changing it with MODE SELECT, and then checking with another READ CAPACITY whether the size has actually been changed. https://github.com/uweseimet/scsi2pi/wiki/Advanced-Testing has more details.
The in_process_bus test (test/in_process_bus.cpp) can only execute a single command with each test, and this command has to be provided on the command line. For s2pexec as an initiator client an interactive mode shall be added. This mode will make it more convenient to test SCSI commands without a Pi, because you can run subsequent commands against the same s2p process, and you can also run a script with command, like it is already supported for s2pctl. A typical use case is checking the sector size of a drive with READ CAPACITY, then changing it with MODE SELECT, and then checking with another READ CAPACITY whether the size has actually been changed. https://github.com/uweseimet/scsi2pi/wiki/Advanced-Testing has more details.