#!/usr/local/bin/tcsh -f

# ISE test script 19

# Decrypt_File Function with Non-Jpeg-Ise Input File

set image_count = 0
set failure_count = 0

foreach ise_file (non_jpg_images/*.ise)
    ise_test_19 $ise_file
    if ($status != 0) then
	echo "Test 19: Decrypt File Function with Non-Jpeg-Ise input file failed for "$ise_file
	@ failure_count += 1
    endif
    @ image_count += 1
    if ($image_count == 100) then
	echo "...still working"
	@ image_count = 0
    endif
end

if ($failure_count == 0) then
    echo "Test 19: passed for all files in non_jpg_images directory."
else
    echo "Test 19: passed for all other files in non_jpg_images directory."
endif

exit 0

###############
# END OF FILE #
###############
