This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: test-media: fix broken 'if' condition Author: Hans Verkuil <[email protected]> Date: Tue Aug 25 08:42:49 2026 +0200 'if [ "$vimc_device" -eq "" ]' tests against an integer. This should be 'if [ -z "$vimc_device" ]' instead. Signed-off-by: Hans Verkuil <[email protected]> contrib/test/test-media | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=bdf2c048ba88eab0e79658c6f211ababf073e410 diff --git a/contrib/test/test-media b/contrib/test/test-media index 6effb4c46d27..e68d8ff91c27 100755 --- a/contrib/test/test-media +++ b/contrib/test/test-media @@ -544,7 +544,7 @@ if [ $vimc -eq 1 ]; then vimc_device=platform:$i fi done - if [ "$vimc_device" -eq "" ]; then + if [ -z "$vimc_device" ]; then echo "FAIL: can't find vimc device" | tee -a $tmp unload_modules exit 0 _______________________________________________ linuxtv-commits mailing list -- [email protected] To unsubscribe send an email to [email protected]
