You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/bash
|
|
|
|
# Test driver for http
|
|
|
|
|
|
|
|
source ./functions.source
|
|
|
|
|
|
|
|
|
|
|
|
( cd "$testdir"
|
|
|
|
|
|
|
|
server=exiv2.dyndns.org
|
|
|
|
dir=userContent/testfiles/webready
|
|
|
|
for host in http://$server:8080 https://$server:8443
|
|
|
|
do
|
|
|
|
printf "$host " >&3
|
|
|
|
for filename in Reagan.jpg ReaganLargePng.png ReaganLargeTiff.tiff ReaganLargeJpg.jpg
|
|
|
|
do
|
|
|
|
echo $host/$dir/$filename
|
|
|
|
runTest exiv2 -pa --grep Software $host/$dir/$filename
|
|
|
|
done
|
|
|
|
done
|
|
|
|
|
|
|
|
) 3>&1 2>&1 > $results
|
|
|
|
|
|
|
|
printf "\n"
|
|
|
|
|
|
|
|
# ----------------------------------------------------------------------
|
|
|
|
# Evaluate results
|
|
|
|
cat $results | tr -d $'\r' > $results-stripped
|
|
|
|
mv $results-stripped $results
|
|
|
|
reportTest $results $good
|
|
|
|
|
|
|
|
# That's all Folks!
|
|
|
|
##
|