Tighten up test for value of the BX field in the ACS status message
authordjfiander <djfiander>
Mon, 28 Aug 2006 22:01:54 +0000 (22:01 +0000)
committerdjfiander <djfiander>
Mon, 28 Aug 2006 22:01:54 +0000 (22:01 +0000)
t/SIPtest.pm

index 03a9d3e..dc3d514 100644 (file)
@@ -130,7 +130,7 @@ our $sc_status_test = { id => 'SC status',
                                     pat      => $textpat,
                                     required => 0, },
                                   { field    => 'BX',
-                                    pat      => qr/^[YN]+$/,
+                                    pat      => qr/^[YN]{16}$/,
                                     required => 1, },
                                   { field    => 'AN',
                                     pat      => $textpat,