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 @@ ...@@ -2,7 +2,7 @@
rename_reports_in() { rename_reports_in() {
dir="$1" dir="$1"
b="$2" b="$2"
if [ "$b" == "." ]; then if [ "$b" = "." ]; then
b="default" b="default"
else else
b=$(echo "$b" | tr '/' '-') b=$(echo "$b" | tr '/' '-')
...@@ -32,4 +32,4 @@ for browser in $FUNCTIONAL_CLIENT_BROWSER_PATH; do ...@@ -32,4 +32,4 @@ for browser in $FUNCTIONAL_CLIENT_BROWSER_PATH; do
mv test/reports/*.xml test/ mv test/reports/*.xml test/
done done
done done
exit $EXIT exit $EXIT
\ No newline at end of file
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