[open-ils-commits] [GIT] Evergreen ILS branch rel_3_3 updated. 4030d39f54386229cfc949921af1846e065f11a1

Evergreen Git git at git.evergreen-ils.org
Thu May 23 16:50:25 EDT 2019


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_3_3 has been updated
       via  4030d39f54386229cfc949921af1846e065f11a1 (commit)
      from  ff381f6f3718b5a59dbbf4a4d5551a1df34cf37c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4030d39f54386229cfc949921af1846e065f11a1
Author: Jason Stephenson <jason at sigio.com>
Date:   Thu May 3 17:31:07 2018 -0400

    Lp 1768987: Use FindBin in 24-sql-gettext-unique.t.
    
    Use FindBin in the 24-sql-gettext-unique.t test file so that it can be
    run from directories other than Open-ILS/src/perlmods.
    
    To test
    -------
    [1] Apply the patch.
    [2] From the root of the Evergreen checkout, run
        prove Open-ILS/src/perlmods/t/24-sql-gettext-unique.t
    [3] Verify that the tests pass.
    
    Signed-off-by: Jason Stephenson <jason at sigio.com>
    Signed-off-by: Galen Charlton <gmc at equinoxinitiative.org>

diff --git a/Open-ILS/src/perlmods/t/24-sql-gettext-unique.t b/Open-ILS/src/perlmods/t/24-sql-gettext-unique.t
index 5df76ce08d..0645f08725 100644
--- a/Open-ILS/src/perlmods/t/24-sql-gettext-unique.t
+++ b/Open-ILS/src/perlmods/t/24-sql-gettext-unique.t
@@ -2,12 +2,13 @@ use strict;
 use warnings;
 use Test::More;
 use Test::Output;
+use FindBin;
 
 my $num_tests = 0;
 
 my $data;
 {
-    open(my $fh, "<", "../sql/Pg/950.data.seed-values.sql")
+    open(my $fh, "<", "$FindBin::Bin/../../sql/Pg/950.data.seed-values.sql")
         or die "Can't open 950.data.seed-values.sql: $!";
     local $/ = undef;
     $data = <$fh>;

-----------------------------------------------------------------------

Summary of changes:
 Open-ILS/src/perlmods/t/24-sql-gettext-unique.t | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list