aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-03-05 09:29:40 (GMT)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2019-03-05 09:29:40 (GMT)
commit59ca2a17615c1b798f4767fee285a62b67919c1d (patch)
treef12a2e7d788563d0862c53907223558f1011da9e
parenta614bc591110b21b4efb0b42a0ec48a2230babc2 (diff)
test-media: replace v4l2-ctl --sleep by sleep
Just use sleep directly. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
-rwxr-xr-xcontrib/test/test-media6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/test/test-media b/contrib/test/test-media
index c0ea5aa..6375cd0 100755
--- a/contrib/test/test-media
+++ b/contrib/test/test-media
@@ -200,7 +200,7 @@ if [ $vivid -eq 1 ]; then
echo second unbind vivid
echo
for i in `v4l2-ctl -z platform:vivid-000 --list-devices`; do
- v4l2-ctl -d $i --sleep 4 &
+ sleep 4 <$i &
done
sleep 1
echo
@@ -273,7 +273,7 @@ if [ $vim2m -eq 1 ]; then
echo second unbind vim2m
echo
for i in `v4l2-ctl -z platform:vim2m --list-devices`; do
- v4l2-ctl -d $i --sleep 4 &
+ sleep 4 <$i &
done
sleep 1
echo
@@ -341,7 +341,7 @@ if [ $vimc -eq 1 ]; then
echo second unbind vimc
echo
for i in `v4l2-ctl -z platform:vimc --list-devices`; do
- v4l2-ctl -d $i --sleep 4 &
+ sleep 4 <$i &
done
sleep 1
echo

Privacy Policy