mixer(8): Report an error if passed value is an empty string This patch fixes a bug that made the mixer command enter an infinite loop when instructed to set the value of a device to an empty string (e.g., `mixer vol ""`). Additionally, some tests for mixer(8) are being added. PR: 240039
Details
Details
- Reviewers
• hselasky mav ed - Group Reviewers
multimedia - Commits
- rS351481: mixer(8): Report an error if the passed value is an empty string
$ sudo mkdir -p /usr/tests/usr.sbin/mixer/ $ cd src/usr.sbin/mixer $ make && sudo make install && (cd /usr/tests/usr.sbin/mixer/ && kyua test)
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
Probably EOF. I'll change it in the final commit.
Also, do we want to MFC this change?