Commit 73f4b960 authored by Maxime Calka's avatar Maxime Calka

Correct the config file

parent edf219f1
......@@ -22,13 +22,13 @@ set -e
# values to check
initTestData() {
# fill test data
extensionCount=( [4.2]=46 [4.1]=41 [4.0]=31 )
extensionCount=( [4.2]=46 [4.1]=41 [4.0]=31 )
componentExtensionCount=( [4.2]=14 [4.1]=14 [4.0]=14 )
actionExtensionCount=( [4.2]=30 [4.1]=27 [4.0]=27 )
viewerExtensionCount=( [4.2]=2 [4.1]=0 [4.0]=0 )
fileExtensionCount=( [4.2]=37 [4.1]=37 [4.0]=37 )
actionCount=( [4.2]=108 [4.1]=105 [4.0]=105 )
viewerCount=( [4.2]=2 [4.1]=0 [4.0]=0 )
# fill release date
releaseDate=( [4.2]="not yet released, current development version" \
......@@ -50,8 +50,10 @@ declareTestData() {
declare -Ag extensionCount
declare -Ag componentExtensionCount
declare -Ag actionExtensionCount
declare -Ag viewerExtensionCount
declare -Ag fileExtensionCount
declare -Ag actionCount
declare -Ag viewerCount
declare -Ag releaseDate
}
......@@ -177,12 +179,18 @@ getExpectedValue() {
"Number of Action Extensions")
echo ${actionExtensionCount[$shortVersion]}
;;
"Number of Viewer Extensions")
echo ${viewerExtensionCount[$shortVersion]}
;;
"Number of File Extensions Supported")
echo ${fileExtensionCount[$shortVersion]}
;;
"Number of Actions")
echo ${actionCount[$shortVersion]}
;;
"Number of Viewers")
echo ${viewerCount[$shortVersion]}
;;
esac
}
......@@ -286,7 +294,9 @@ else
fi
checkValue "Number of Component Extensions"
checkValue "Number of Action Extensions"
checkValue "Number of Viewer Extensions"
checkValue "Number of File Extensions Supported"
checkValue "Number of Actions"
checkValue "Number of Viewers"
exit $exitStatus
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment