[lsb-discuss] lsb-test-perl FAILED

hliu hliu at redhat.com
Mon Aug 18 02:35:17 PDT 2008


Hi, guys,
  I'm testing lsb-test-perl recently. Here are what i've done"

  1. Install lsb-test-perl:
     rpm -ivh lsb-test-perl-3.2.1-1.noarch.rpm

  2. Run the test script:
     cd /opt/lsb/test/perl
     ./run_tests
    
  Error msg given out:

        System perl version is: 5.10.0
        Creating Unicode Character Database symlink...
        Creating symlink to system blib.pm
        Creating symlink to system constant.pm
        Creating symlink to system strict.pm
        Creating symlink to system Functions.pm
        Can't locate Test/Harness/Straps.pm in @INC (@INC
        contains: /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at Harness.pm line 6.
        BEGIN failed--compilation aborted at Harness.pm line 6.
        Compilation failed in require at harness line 12.
        BEGIN failed--compilation aborted at harness line 12.
        mv: cannot stat `t/tet_xres': No such file or directory
        Journal file is results/0005e/journal
  
  Seems it can't find Test/Harness/Straps.pm from the base path @INC,I
ran "locate Straps.pm" and found Straps.pm is right
under /usr/local/lib/perl5/site_perl/5.10.0/Test/Harness

  Can somebody plz tell me what's going wrong with my test steps? thank
u.


All the best,
Hao Liu





More information about the lsb-discuss mailing list