aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2024-01-07 13:35:56 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2024-01-07 13:40:44 +0100
commit5ec6e21b35d4d9fcd4071e77ed60607c21bfcc4a (patch)
treed08214da1d7c40301d741d4e679f6dcb3df25129
parent3ddf02ddcb9f04a92b272383a252a8fe350663ab (diff)
downloadsparse-5ec6e21b35d4d9fcd4071e77ed60607c21bfcc4a.tar.gz
testsuite: avoid "warning: stray \ before t" message
Grep (or maybe only some recent versions) complains when using the (wrong) '\\t' pattern. This pattern was used only once to check if the following pattern was at the beginning of an instruction. Prefer to use the more explicit '^.' pattern, already used in other tests. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r--validation/linear/call-inline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/validation/linear/call-inline.c b/validation/linear/call-inline.c
index 1ad785ee..0281e2d7 100644
--- a/validation/linear/call-inline.c
+++ b/validation/linear/call-inline.c
@@ -13,6 +13,6 @@ int i3(void) { return (***fun)(); } // C99,C11 6.5.3.2p4
*
* check-output-ignore
* check-output-excludes: load
- * check-output-excludes: \\tcall
+ * check-output-excludes: ^.call
* check-output-pattern(5): ret\\..* \\$42
*/