Git Product home page Git Product logo

Comments (3)

Tom-python0121 avatar Tom-python0121 commented on May 26, 2024

see:

[root@centos8 spack-src]# vim t/chkstow.t +25
 1 #!/usr/bin/perl
  2 #
  3 # This file is part of GNU Stow.
  4 #
  5 # GNU Stow is free software: you can redistribute it and/or modify it
  6 # under the terms of the GNU General Public License as published by
  7 # the Free Software Foundation, either version 3 of the License, or
  8 # (at your option) any later version.
  9 #
 10 # GNU Stow is distributed in the hope that it will be useful, but
 11 # WITHOUT ANY WARRANTY; without even the implied warranty of
 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 13 # General Public License for more details.
 14 #
 15 # You should have received a copy of the GNU General Public License
 16 # along with this program. If not, see https://www.gnu.org/licenses/.
 17
 18 #
 19 # Testing cleanup_invalid_links()
 20 #
 21
 22 use strict;
 23 use warnings;
 24
 25 use testutil;
 26 require "chkstow";
 27
 28 use Test::More tests => 7;
 29 use Test::Output;
 30 use English qw(-no_match_vars);
 31
 32 init_test_dirs();
 33 cd("$TEST_DIR/target");

How to load testutil?

from stow.

aspiers avatar aspiers commented on May 26, 2024

It looks to me like you did not follow the installation instructions. As a result you are missing module dependencies, as shown by this error in your output:

Can't locate IO/Scalar.pm in @INC (you may need to install the IO::Scalar module)

If you did follow the instructions, please paste the full output from doing that.

from stow.

Tom-python0121 avatar Tom-python0121 commented on May 26, 2024

@aspiers ,you are right.Can 't locate IO/Scalar.pm in @inc lacks perl-io-stringy dependency; Can' t locate Capture/Tiny.pm in @inc lacks perl-capture-tiny dependency. Can' t locate Test/Output.pm in @inc lacks perl-test-output dependency. The perl-test-more dependency is missing in Can' t locate Test/More.pm in @inc. After the dependency is added, the test is passed.

from stow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.