mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-27 14:27:15 +00:00
ignore case-only changes when comparing leaderboard groups for their loaded-ness state
This commit is contained in:
1 parent
427adbb8be
commit
825da81c93
1 file changed
+1
-1
@@ -15,7 +15,7 @@ if [ "$?" = "0" ]; then
|
||||
cat leaderboardgroups.old.sed | while read i; do
|
||||
wget -O - "${OLDSERVER}/sailingserver/api/v1/leaderboardgroups/`echo $i | sed -e 's/ /%20/g'`" | python -m json.tool >"$i.old.json"
|
||||
wget -O - "${NEWSERVER}/sailingserver/api/v1/leaderboardgroups/`echo $i | sed -e 's/ /%20/g'`" | python -m json.tool >"$i.new.json"
|
||||
diff -b -B "$i.old.json" "$i.new.json"
|
||||
diff -b -i -B "$i.old.json" "$i.new.json"
|
||||
DIFFRESULT=$?
|
||||
if [ "$DIFFRESULT" != "0" ]; then
|
||||
echo "Difference detected in leaderboard group $i; exiting"
|
||||
|
||||
Reference in new issue
Block a user