Update testfile and fix empty warning in show-expected-fail-tests.sh (#729)

This PR adds the test that matrix-org/sytest#642 will allow to pass to testfile and also contains a minor fix for show-expected-fail-tests.sh so it doesn't show an empty warning.

Signed-off-by: Alex Chen minecnly@gmail.com
This commit is contained in:
Alex Chen 2019-07-05 19:42:23 +08:00 committed by Andrew Morgan
parent 33a1392541
commit da0dd06475
2 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,7 @@ tests_to_add=""
already_in_testfile="" already_in_testfile=""
while read -r test_id; do while read -r test_id; do
[ "${test_id}" = "" ] && continue
grep "${test_id}" "${testfile}" > /dev/null 2>&1 grep "${test_id}" "${testfile}" > /dev/null 2>&1
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
tests_to_add="${tests_to_add}${test_id}\n" tests_to_add="${tests_to_add}${test_id}\n"

View File

@ -142,3 +142,4 @@ Trying to get push rules with unknown rule_id fails with 404
Events come down the correct room Events come down the correct room
local user can join room with version 5 local user can join room with version 5
User can invite local user to room with version 5 User can invite local user to room with version 5
Inbound federation can receive room-join requests