Ignore syslog properties on windows
@@ -8,7 +8,7 @@ if ! diff -u jobs/rep{,_windows}/templates/rep.json.erb; then
fi
rep_properties=$(cat jobs/rep/spec | sed -n '/properties/,$P' | grep -E '^ [a-z].*$' | tr -d '[:blank:]' | grep -v volman | sort)
-rep_windows_properties=$(cat jobs/rep_windows/spec | sed -n '/properties/,$P' | grep -E '^ diego.*$' | tr -d '[:blank:]' | sort)
+rep_windows_properties=$(cat jobs/rep_windows/spec | sed -n '/properties/,$P' | grep -E '^ [a-z].*$' | grep -v syslog | tr -d '[:blank:]' | sort)
if ! diff -u <(echo -e "$rep_properties") <(echo -e "$rep_windows_properties"); then
echo "rep specs have drifted"
@@ -21,7 +21,7 @@ if ! diff -u jobs/route_emitter{,_windows}/templates/route_emitter.json.erb; the
fi
route_emitter_properties=$(cat jobs/route_emitter/spec | sed -n '/properties/,$P' | grep -E '^ [a-z].*$' | tr -d '[:blank:]' | sort)
-route_emitter_windows_properties=$(cat jobs/route_emitter_windows/spec | sed -n '/properties/,$P' | grep -E '^ diego.*$' | tr -d '[:blank:]' | sort)
+route_emitter_windows_properties=$(cat jobs/route_emitter_windows/spec | sed -n '/properties/,$P' | grep -E '^ [a-z].*$' | grep -v syslog | tr -d '[:blank:]' | sort)
if ! diff -u <(echo -e "$route_emitter_properties") <(echo -e "$route_emitter_windows_properties"); then
echo "route emitter specs have drifted"
