From fbbd1695043c221f88b9f718f17b3297a94b1d66 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 6 Nov 2020 16:59:40 +0100 Subject: [PATCH] Bug 25067: Adjust paths in tests Signed-off-by: Jonathan Druart --- t/db_dependent/misc/translator/xgettext-installer.t | 2 +- t/db_dependent/misc/translator/xgettext-pref.t | 2 +- t/db_dependent/misc/translator/xgettext-tt2.t | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/t/db_dependent/misc/translator/xgettext-installer.t b/t/db_dependent/misc/translator/xgettext-installer.t index 404361088a..d8a3286b32 100755 --- a/t/db_dependent/misc/translator/xgettext-installer.t +++ b/t/db_dependent/misc/translator/xgettext-installer.t @@ -12,7 +12,7 @@ my $tempdir = tempdir(CLEANUP => 1); write_file("$tempdir/files", "$Bin/sample.yml"); -my $xgettext_cmd = "$Bin/../../../misc/translator/xgettext-installer " +my $xgettext_cmd = "$Bin/../../../../misc/translator/xgettext-installer " . "-o $tempdir/Koha.pot -f $tempdir/files"; system($xgettext_cmd); diff --git a/t/db_dependent/misc/translator/xgettext-pref.t b/t/db_dependent/misc/translator/xgettext-pref.t index 8c699fe108..2e5bcdeba0 100755 --- a/t/db_dependent/misc/translator/xgettext-pref.t +++ b/t/db_dependent/misc/translator/xgettext-pref.t @@ -12,7 +12,7 @@ my $tempdir = tempdir(CLEANUP => 1); write_file("$tempdir/files", "$Bin/sample.pref"); -my $xgettext_cmd = "$Bin/../../../misc/translator/xgettext-pref " +my $xgettext_cmd = "$Bin/../../../../misc/translator/xgettext-pref " . "-o $tempdir/Koha.pot -f $tempdir/files"; system($xgettext_cmd); diff --git a/t/db_dependent/misc/translator/xgettext-tt2.t b/t/db_dependent/misc/translator/xgettext-tt2.t index e2ae734914..0c18473ebb 100755 --- a/t/db_dependent/misc/translator/xgettext-tt2.t +++ b/t/db_dependent/misc/translator/xgettext-tt2.t @@ -12,7 +12,7 @@ my $tempdir = tempdir(CLEANUP => 1); write_file("$tempdir/files", "$Bin/sample.tt"); -my $xgettext_cmd = "$Bin/../../../misc/translator/xgettext-tt2 --from-code=UTF-8 " +my $xgettext_cmd = "$Bin/../../../../misc/translator/xgettext-tt2 --from-code=UTF-8 " . "-o $tempdir/Koha.pot -f $tempdir/files"; system($xgettext_cmd); -- 2.39.5