Commit c1076b5f authored by Mikaël Salson's avatar Mikaël Salson Committed by Mathieu Giraud
Browse files

launch_functional_tests: String comparison in SH with =

Breaking news (for me): string comparison is done with = in SH not with ==.
parent eab86be9
Pipeline #3089 passed with stages
in 4 minutes and 21 seconds
......@@ -2,7 +2,7 @@
rename_reports_in() {
dir="$1"
b="$2"
if [ "$b" == "." ]; then
if [ "$b" = "." ]; then
b="default"
else
b=$(echo "$b" | tr '/' '-')
......@@ -32,4 +32,4 @@ for browser in $FUNCTIONAL_CLIENT_BROWSER_PATH; do
mv test/reports/*.xml test/
done
done
exit $EXIT
\ No newline at end of file
exit $EXIT
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