]> Sergey Matveev's repositories - public-inbox.git/blobdiff - t/mda.t
testcommon: spawn-aware system() and qx[] workalikes
[public-inbox.git] / t / mda.t
diff --git a/t/mda.t b/t/mda.t
index af5e19319ed82cbbc30b687a0a6b92036db261eb..dc6916169cbab1c2ba964f87e8048f68a1570f11 100644 (file)
--- a/t/mda.t
+++ b/t/mda.t
@@ -298,7 +298,7 @@ Subject: this message will be trained as spam
 Date: Thu, 01 Jan 1970 00:00:00 +0000
 
 EOF
-       system(qw(git config --file), $pi_config, "$cfgpfx.listid", $list_id);
+       xsys(qw(git config --file), $pi_config, "$cfgpfx.listid", $list_id);
        $? == 0 or die "failed to set listid $?";
        my $in = $simple->as_string;
        ok(run_script(['-mda'], undef, { 0 => \$in }),