# HG changeset patch
# User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr>
# Date 1627996000 -7200
#      Tue Aug 03 15:06:40 2021 +0200
# Node ID ecb4eccf6917ec6dcd0926681700fa54bab43cc7
# Parent  b79256b2eefd00ebe05462f6e1b610a7ab4a75f4
🚑 fix ignoring setting not null in tests for Odoo 13

diff --git a/do_tests b/do_tests
--- a/do_tests
+++ b/do_tests
@@ -117,7 +117,7 @@
 fi
 criticals=$(grep ' CRITICAL' -F $logfile -c)
 # exclude ALTER COLUMN xxx set not null that are not real errors
-errors=$(grep ' ERROR' -F $logfile | grep -v "ALTER COLUMN \"\w*\" SET NOT NULL" -c)
+errors=$(grep ' ERROR' -F $logfile | grep -v "(ALTER COLUMN \"\w*\" SET NOT NULL|unable to set NOT NULL on column)" -c)
 warnings=$(grep ' WARNING' -F $logfile -c)
 if [[ $criticals -gt 0 ]];
 then