https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17544

            Bug ID: 17544
           Summary: populate_db.pl should not require t::lib::Mocks
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: gmcha...@gmail.com
          Reporter: tomasco...@gmail.com
        QA Contact: testo...@bugs.koha-community.org

The misc/devel/populate_db.pl script incorrectly requires t::lib::Mocks, and
this makes it fail under kohadevbox.

Steps to reproduce:
- Have a fresh kohadevbox (DB not populated)
- Run
  $ sudo koha-shell kohadev -c
"/home/vagrant/kohaclone/misc/devel/populate_db.pl --marcflavour marc21"
=> FAIL: You get:
Can't locate t/lib/Mocks.pm in @INC (you may need to install the t::lib::Mocks
module) (@INC contains: /usr/share/koha/lib /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2
/usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20
/usr/local/lib/site_perl .) at
/home/vagrant/kohaclone/misc/devel/populate_db.pl line 27.
BEGIN failed--compilation aborted at
/home/vagrant/kohaclone/misc/devel/populate_db.pl line 27.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to