aboutsummaryrefslogtreecommitdiff
path: root/tests/test-video-audio-recording--build-video-command.el
Commit message (Collapse)AuthorAgeFilesLines
* fix(recording): shell-quote device names and output paths in ffmpeg commandsCraig Jennings13 days1-0/+16
| | | | | | The X11 video path and the audio path interpolated the mic device, system device, and output filename straight into the shell command, so a device name or recording directory with a space (or other shell metacharacter) would break the command or mishandle the path. The Wayland video branch already quoted these; the other two did not. I wrapped all three in shell-quote-argument on both paths. To make the audio command testable, I extracted it into cj/recording--build-audio-command mirroring the existing cj/recording--build-video-command, then quoted there. Tests cover device names and filenames with spaces on both the X11 and audio builders.
* test(recording): add direct tests for extracted refactoring helpersCraig Jennings2026-04-051-0/+105
Cover build-video-command (9 tests), select-from-labeled (5 tests), and test-device (4 tests). All three were previously tested only indirectly through their callers.