1 diff -ru orig/t/sa_compile.t new/t/sa_compile.t
2 --- orig/t/sa_compile.t 2022-12-14 06:03:26.000000000 +0000
3 +++ new/t/sa_compile.t 2023-06-25 12:30:39.735577152 +0000
6 # we now have an "installed" version we can run sa-compile with. Ensure
7 # sarun() will use it appropriately
8 -$scr = "$instdir/$temp_binpath/spamassassin";
9 +$scr = "$perl_cmd -T $instdir/$temp_binpath/spamassassin";
10 $scr_localrules_args = $scr_cf_args = ""; # use the default rules dir, from our "install"
14 # -------------------------------------------------------------------
16 rmtree( glob "~/.spamassassin/sa-compile.cache". { safe => 1 }); # reset test
17 -system_or_die "TMP=$instdir TMPDIR=$instdir $instdir/$temp_binpath/sa-compile --quiet -p $cwd/$workdir/user.cf --keep-tmps -D 2>$instdir/sa-compile.debug"; # --debug
18 -$scr = "$instdir/$temp_binpath/spamassassin";
19 +system_or_die "TMP=$instdir TMPDIR=$instdir $perl_cmd -T $instdir/$temp_binpath/sa-compile --quiet -p $cwd/$workdir/user.cf --keep-tmps -D 2>$instdir/sa-compile.debug"; # --debug
20 +$scr = "$perl_cmd -T $instdir/$temp_binpath/spamassassin";
21 $scr_localrules_args = $scr_cf_args = ""; # use the default rules dir, from our "install"