Blame tests/p_file/02_file_mime_image.sh

Ranjib Dey e0701f
#!/bin/bash
Christoph Galuschka 37e507
# Author:	???
Christoph Galuschka 37e507
#	  Christoph Galuschka <christoph.galuschka@chello.at>
Rene Diepstraten 20f7b5
#   Rene Diepstraten <rene@renediepstraten.nl>
Ranjib Dey e0701f
Ranjib Dey e0701f
t_Log "Running $0 - checking if file can recognize image mime file type "
Ranjib Dey e0701f
d7bd9f
pngfile="$(find /usr/share/ -name '*.png' -print -quit)"
Ranjib Dey e0701f
Rene Diepstraten 20f7b5
file $pngfile -i | grep -q 'image/png'
Ranjib Dey e0701f
d7bd9f
t_CheckExitStatus $?