Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/tests/usr.bin/mixerctl



Module Name:    src
Committed By:   kre
Date:           Thu Feb 23 14:01:37 UTC 2017

Modified Files:
        src/tests/usr.bin/mixerctl: t_mixerctl.sh

Log Message:
Drop the test for QEMU and instead skip relevant tests when /dev/mixer
can't be opened (which more accurately reflects when mixerctl is going
to fail...)

Based upon an idea from Andreas Gustafsson (gson@) - except that using
/dev/audio0 for this purpose doesn't work, if the only audio device
configured is pad0 an open of audio fails with EIO (???)

While here, perpare for the updated mixerctl coming soon to a repository
near you...
        Use correct usage in the test of a bogus -d arg (otherwise the
                new mixerctl will complain about usage, and never even
                attempt to open the bogus device)
        Don't require /dev/mixer for the noargs -> generate usage msg
                test ... this will now generate a failing test with the
                old mixerctl if there is no working /dev/mixer, but
                that mixerctl won't be around much longer.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/mixerctl/t_mixerctl.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index