# HG changeset patch
# User Vincent Hatakeyama <vincent.hatakeyama@xcg-consulting.fr>
# Date 1628156168 -7200
#      Thu Aug 05 11:36:08 2021 +0200
# Node ID 2a4a4c75eb69e6105998363877694d810d66d9eb
# Parent  98d44b6a22de04b0d0d9d3fb148e0578d7e1362f
🚑 fix the grep that was incorrect

diff --git a/NEWS.rst b/NEWS.rst
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -13,6 +13,8 @@
 
 Make start-py3o option work again.
 
+Odoo 13 set not null errors when testing are ignored the same way it was in other versions.
+
 8.0.1
 -----
 
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|unable to set NOT NULL on column)" -c)
+errors=$(grep ' ERROR' -F $logfile | grep -E -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