File: test_filenames_hls

package info (click to toggle)
ffmpegfs 2.17-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,464 kB
  • sloc: cpp: 20,943; sh: 4,825; ansic: 333; makefile: 232; php: 53
file content (12 lines) | stat: -rwxr-xr-x 233 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

ADDOPT=""

. "${BASH_SOURCE%/*}/funcs.sh" "hls"

XDIRNAME="${DIRNAME}"/snowboard.mp4

echo "Checking file names"
[ "$(ls --ignore='*.ts' -w 1000 -m "${XDIRNAME}")" = "hls.html, index_0_av.m3u8, master.m3u8" ]

echo "OK"