# HG changeset patch # User Lucas Thompson # Date 1486120177 0 # Node ID 0e13b7b8046459d6cd913bdbe28fe0604b371da8 # Parent 353f842ed73fcc4a7d0fa5577cebed22b1d9bb65 Remove some whitespace. diff -r 353f842ed73f -r 0e13b7b80464 vamp-server/test.sh --- a/vamp-server/test.sh Tue Jan 31 23:01:49 2017 +0000 +++ b/vamp-server/test.sh Fri Feb 03 11:09:37 2017 +0000 @@ -83,7 +83,7 @@ {"error": {"code": 0, "message": "error in finish request: unknown plugin handle supplied to finish"}, "id": "blah", "jsonrpc": "2.0", "method": "finish"} EOF -# We run the whole test three times, +# We run the whole test three times, # to cover (de)serialisation of json and capnp requests and responses # as well as exercising both server modes (json and capnp) # converting / reading from capnp requests is currently not tested @@ -121,10 +121,9 @@ # Skip plugin lists tail -n +4 "$allrespfile" > "$obtained" - echo "Checking response contents against expected contents..." - - # the expected configuration response is fragile, capnp fills in optional fields, - # json doesn't - which is fine behaviour, but causes the test to fail - remove empty binCount and binNames + echo "Checking response contents against expected contents..." + # the expected configuration response is fragile, capnp fills in optional fields, + # json doesn't - which is fine behaviour, but causes the test to fail - remove empty binCount and binNames expected_without_optional_fields=$( cat "$expected" | sed -E 's/\"(binCount|binNames)\": ?((\[\])|0),? ?//g') echo "$expected_without_optional_fields" > "$expected_less_strict"