From c60c18edb91387c26b30c6bbad3d8a5009ac5478 Mon Sep 17 00:00:00 2001 From: Ben Fuhrmannek Date: Thu, 21 May 2015 11:36:02 +0200 Subject: [PATCH] mailprotect test cases now work on linux --- tests/misc/mailprotect_1_header_nl.phpt | 2 +- tests/misc/mailprotect_1_header_nlnl.phpt | 2 +- tests/misc/mailprotect_1_subject.phpt | 2 +- tests/misc/mailprotect_1_subject_long.phpt | 2 +- tests/misc/mailprotect_1_to.phpt | 2 +- tests/misc/mailprotect_1_to_long.phpt | 2 +- tests/misc/mailprotect_2_bcc.phpt | 2 +- tests/misc/mailprotect_2_cc.phpt | 2 +- tests/misc/mailprotect_2_to.phpt | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/misc/mailprotect_1_header_nl.phpt b/tests/misc/mailprotect_1_header_nl.phpt index c8f1bc0..e137d48 100644 --- a/tests/misc/mailprotect_1_header_nl.phpt +++ b/tests/misc/mailprotect_1_header_nl.phpt @@ -8,7 +8,7 @@ suhosin.log.stdout=0 suhosin.log.script=0 suhosin.log.syslog=0 suhosin.mail.protect=1 -sendmail_path=/usr/bin/true +sendmail_path=$([ -f /bin/true ]&& echo /bin/true || echo /usr/bin/true) --FILE--