From: Phil Carmody Date: Tue, 19 Jun 2018 12:30:36 +0000 (+0300) Subject: m4/dovecot.m4: rename valgrind output file to hide it from certain tests X-Git-Tag: 2.3.9~1489 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52c1c9950e473201ff301eef3d7f899ca272b5aa;p=thirdparty%2Fdovecot%2Fcore.git m4/dovecot.m4: rename valgrind output file to hide it from certain tests Some lib-http tests use readdir() to create test cases, and sometimes object to the contents of test.out.$$. However, as lib-http is also sensitive to certain characters in the filenames of the files it uses, we can hide the valgrind output by chosing its filename to exclude it from the lib_http tests. Non-initial '~' is not known to cause any issues for either the shell or any known operating system, so is the safest of lib-http's 'dodgy' characters to use as the separator. Signed-off-by: Phil Carmody --- diff --git a/m4/dovecot.m4 b/m4/dovecot.m4 index 5c78eea29c..5821e94d0e 100644 --- a/m4/dovecot.m4 +++ b/m4/dovecot.m4 @@ -60,7 +60,7 @@ if test "\$NOVALGRIND" != ""; then \$[*] ret=\$? else - test_out="test.out.\$\$" + test_out="test.out~\$\$" trap "rm -f \$test_out" 0 1 2 3 15 supp_path="\$top_srcdir/run-test-valgrind.supp" if test -r "\$supp_path"; then