tests: Fix constraints test under RHEL7
The error messages under sqlite-3.7.17-8.el7_7.1.x86_64 were slightly different, causing the tests to fail.
The error messages under sqlite-3.7.17-8.el7_7.1.x86_64 were slightly different, causing the tests to fail.