aboutsummaryrefslogtreecommitdiff
path: root/show-expected-fail-tests.sh
diff options
context:
space:
mode:
authorAlex Chen <Cnly@users.noreply.github.com>2019-07-05 19:42:23 +0800
committerAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-07-05 12:42:23 +0100
commitda0dd06475a47fb28cf8381bda5f941caae6caad (patch)
tree15035157953985c1328543915295f01ada61614d /show-expected-fail-tests.sh
parent33a13925417612b032c1cbbb8ee62eb053faa5f8 (diff)
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
Diffstat (limited to 'show-expected-fail-tests.sh')
-rwxr-xr-xshow-expected-fail-tests.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/show-expected-fail-tests.sh b/show-expected-fail-tests.sh
index f58416b2..80b842ab 100755
--- a/show-expected-fail-tests.sh
+++ b/show-expected-fail-tests.sh
@@ -22,6 +22,7 @@ tests_to_add=""
already_in_testfile=""
while read -r test_id; do
+ [ "${test_id}" = "" ] && continue
grep "${test_id}" "${testfile}" > /dev/null 2>&1
if [ "$?" != "0" ]; then
tests_to_add="${tests_to_add}${test_id}\n"