Which checks establish that tshark and the sample capture are available?
Run only a display filter and assume any error proves readiness.
Run tshark -v and inspect capture.pcap with ls -l.
tshark -v
capture.pcap
ls -l
Create an empty capture.pcap and skip verifying tshark.
Remove capture.pcap before checking the tshark version.