cocci: updated some tests in order to avoid assert(3) and use pkg_emit_errno() instead.
modified tests/cocci/pkg/strlcat.cocci
@@ -9,4 +9,5 @@ expression E, E1, S;
|
|
|
|
|
|
| - | |
| + | |
| + | |
modified tests/cocci/pkg/strlcpy.cocci
@@ -9,4 +9,5 @@ expression E, E1, S;
|
|
|
|
|
|
| - | |
| + | |
| + | |
modified tests/cocci/pkg/unchecked_malloc.cocci
@@ -12,8 +12,9 @@ local idexpression n;
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -22,8 +23,9 @@ local idexpression n;
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -32,8 +34,9 @@ local idexpression n;
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -42,7 +45,8 @@ local idexpression n;
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|