about summary refs log tree commit diff
path: root/test/test-compcov.c
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-05-24 01:59:08 +0200
committervan Hauser <vh@thc.org>2020-05-24 01:59:08 +0200
commit68e66fa92090f7acd3555c8d64ee29ff97334f02 (patch)
tree52257333469b580292fe1b3c48d2ee213c303e9f /test/test-compcov.c
parent38df6eb3a9d572d13a0554f6d511723feb644be6 (diff)
downloadafl++-68e66fa92090f7acd3555c8d64ee29ff97334f02.tar.gz
fix compare-transform for strn?casecmp
Diffstat (limited to 'test/test-compcov.c')
-rw-r--r--test/test-compcov.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-compcov.c b/test/test-compcov.c
index c8dd674e..a2202a22 100644
--- a/test/test-compcov.c
+++ b/test/test-compcov.c
@@ -39,6 +39,8 @@ int main(int argc, char **argv) {
     printf("short local var memcmp works!\n");
   else if (memcmp(global_cmpval, input, sizeof(global_cmpval)) == 0)
     printf("global var memcmp works!\n");
+  else if (strncasecmp("-h", input, 2) == 0)
+    printf("this is not the help you are looking for\n");
   else
     printf("I do not know your string\n");