diff options
author | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2021-10-02 11:01:05 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2021-10-02 11:01:05 +0200 |
commit | 700f5ded9c6de2c6dfe5d1b453d85566f95b4f0c (patch) | |
tree | cc06c8bfba000d0c2c82a9b4907b74f11e3eecd9 | |
parent | 6b32403a6d54ec79fbda3405ac606bcc2cbe068c (diff) | |
download | v4l-utils-700f5ded9c6de2c6dfe5d1b453d85566f95b4f0c.tar.gz |
test-media: show version info earlier and show cmd args
Log the version info earlier and also log the command line arguments.
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rwxr-xr-x | contrib/test/test-media | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/contrib/test/test-media b/contrib/test/test-media index af11ecd6..4f453557 100755 --- a/contrib/test/test-media +++ b/contrib/test/test-media @@ -68,6 +68,14 @@ fi dmesg -n notice +date +uname -a +v4l2-compliance --version +echo test-media $* +echo +echo + + while [ ! -z "$1" ]; do case "$1" in -unload) @@ -103,6 +111,8 @@ while [ ! -z "$1" ]; do echo v4l2-compliance-32 is not installed. exit 0 fi + $v4l2_compliance --version + echo ;; all) vidtv=1 @@ -159,12 +169,6 @@ if [ $vidtv -eq 1 ]; then fi fi -date -uname -a -$v4l2_compliance --version -echo -echo - if [ $kobj_rel -eq 1 ]; then echo Detected CONFIG_DEBUG_KOBJECT_RELEASE=y unbind_time=10 |