From 61779547733699dfe6710a74529e02d515364aa4 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Tue, 12 May 2020 16:32:40 +0200 Subject: fix custom mutators and add real test cases --- test/test-multiple-mutators.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'test/test-multiple-mutators.c') diff --git a/test/test-multiple-mutators.c b/test/test-multiple-mutators.c index 0f6f5c64..dafc817c 100644 --- a/test/test-multiple-mutators.c +++ b/test/test-multiple-mutators.c @@ -12,11 +12,10 @@ int main(int argc, char **argv) { int a = 0; - char s[16]; - memset(s, 0, 16); - read(0, s, 0xa0); + char s[100]; + read(0, s, 100); - if (s[17] != '\x00') { abort(); } + if (s[7] == 'B') { abort(); } return 0; -- cgit 1.4.1