missing two f's, loggerd should really work on pc

old-commit-hash: 7bee1dbdbf
commatwo_master
Adeeb Shihadeh 5 years ago
parent 12e718f670
commit 4f4751ec35
  1. 2
      selfdrive/loggerd/tests/test_loggerd.py

@ -85,7 +85,7 @@ class TestLoggerd(unittest.TestCase):
f"{camera} failed size check: expected {size}, got {file_size}")
# check frame count
cmd = "fprobe -v error -count_frames -select_streams v:0 -show_entries stream=nb_read_frames \
cmd = f"ffprobe -v error -count_frames -select_streams v:0 -show_entries stream=nb_read_frames \
-of default=nokey=1:noprint_wrappers=1 {file_path}"
expected_frames = self.segment_length * CAMERA_FPS
frame_count = int(subprocess.check_output(cmd, shell=True, encoding='utf8').strip())

Loading…
Cancel
Save