Commit e7008fd6 authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

FIXED cepgenerator bash test now OK

parent 3318582b
......@@ -128,7 +128,7 @@ else
fi
getWorkingDirExtensionCount() {
echo $(xvfb-run --auto-servernum --server-num=1 $camitkConfig --config | grep "\[W\]" | wc -l)
echo $(xvfb-run --auto-servernum --server-num=1 $camitkConfig --config | grep "^ - \[W\] " | wc -l)
}
......@@ -744,7 +744,7 @@ testcepfile() {
# check if everything is compiled and can be loaded
value=$(getWorkingDirExtensionCount)
echo "$checkValueId- Check Number of extensions for $1: $value"
echo "$(xvfb-run --auto-servernum --server-num=1 $camitkConfig --config | grep "\[W\]")"
echo "$(xvfb-run --auto-servernum --server-num=1 $camitkConfig --config | grep "^ - \[W\] ")"
if [ "$value" -ne "$expectedValue" ]; then
echo "Error: unexpected number of extensions installed in the working directory ($value != $expectedValue)"
exitStatus=$checkValueId
......
Supports Markdown
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