billiob pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=4ba31c3fbafa1b8e81e978189be20f3082765618
commit 4ba31c3fbafa1b8e81e978189be20f3082765618 Author: Boris Faure <[email protected]> Date: Sat Nov 24 12:23:24 2018 +0100 tests: differentiate NULL on prop.icon or prop.title --- src/bin/tyfuzz.c | 8 ++++++++ tests/tests.results | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/bin/tyfuzz.c b/src/bin/tyfuzz.c index 40bb0c4..c80b34e 100644 --- a/src/bin/tyfuzz.c +++ b/src/bin/tyfuzz.c @@ -138,12 +138,20 @@ _tytest_checksum(Termpty *ty) (unsigned char const*)ty->prop.icon, strlen(ty->prop.icon)); } + else + { + MD5Update(&ctx, (unsigned char const*)"(NULL)", 6); + } if (ty->prop.title) { MD5Update(&ctx, (unsigned char const*)ty->prop.title, strlen(ty->prop.title)); } + else + { + MD5Update(&ctx, (unsigned char const*)"(NULL)", 6); + } MD5Final(hash, &ctx); diff --git a/tests/tests.results b/tests/tests.results index 2428284..3349d12 100644 --- a/tests/tests.results +++ b/tests/tests.results @@ -1,2 +1,2 @@ -decfra-no-restrict-cursor.sh 433641ae9b98af9dac2b8da49e1ae321 -decfra-restrict-cursor.sh ebc4be442e89e6e70d1783063429c004 +decfra-no-restrict-cursor.sh 236d1c32fe49c8762ad204510117b1da +decfra-restrict-cursor.sh 898682203275b186e6c81424b93b1b79 --
